aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/select-names/e-select-names.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-02-05 06:58:03 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-05 06:58:03 +0800
commit66a509fb9d9a452b6f5f9f74e0c7209b221e8c54 (patch)
tree4eb6a7ac7b266d8f118716de2850aa4e949641a1 /addressbook/gui/component/select-names/e-select-names.h
parent64a9d9a1681898644c878300e0b190b518b4dd55 (diff)
downloadgsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.tar
gsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.tar.gz
gsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.tar.bz2
gsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.tar.lz
gsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.tar.xz
gsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.tar.zst
gsoc2013-evolution-66a509fb9d9a452b6f5f9f74e0c7209b221e8c54.zip
Call e_select_names_set_default when appropriate.
2001-02-04 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Call e_select_names_set_default when appropriate. * gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h: Added support for double clicking sending the selected contacts to the default section. Added a set_default function. Made multiple selection work. svn path=/trunk/; revision=7962
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names.h')
-rw-r--r--addressbook/gui/component/select-names/e-select-names.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names.h b/addressbook/gui/component/select-names/e-select-names.h
index ce89791861..9d47558117 100644
--- a/addressbook/gui/component/select-names/e-select-names.h
+++ b/addressbook/gui/component/select-names/e-select-names.h
@@ -66,6 +66,7 @@ struct _ESelectNames
int currently_selected;
EvolutionStorageListener *listener;
GHashTable *folders;
+ char *def;
};
struct _ESelectNamesClass
@@ -83,6 +84,8 @@ void e_select_names_add_section (ESelectNames *e_select_names,
ESelectNamesModel *source);
ESelectNamesModel *e_select_names_get_source (ESelectNames *e_select_names,
char *id);
+void e_select_names_set_default (ESelectNames *e_select_names,
+ const char *id);
/* Returns a ref counted list of addresses. */
EList *e_select_names_get_section (ESelectNames *e_select_names,
char *id);