From 66a509fb9d9a452b6f5f9f74e0c7209b221e8c54 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 4 Feb 2001 22:58:03 +0000 Subject: Call e_select_names_set_default when appropriate. 2001-02-04 Christopher James Lahey * 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 --- addressbook/gui/component/select-names/e-select-names.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addressbook/gui/component/select-names/e-select-names.h') 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); -- cgit v1.2.3