diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-02-05 06:58:03 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-02-05 06:58:03 +0800 |
commit | 66a509fb9d9a452b6f5f9f74e0c7209b221e8c54 (patch) | |
tree | 4eb6a7ac7b266d8f118716de2850aa4e949641a1 /addressbook/gui/component/select-names/e-select-names-manager.c | |
parent | 64a9d9a1681898644c878300e0b190b518b4dd55 (diff) | |
download | gsoc2013-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-manager.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-manager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-manager.c b/addressbook/gui/component/select-names/e-select-names-manager.c index f93d94b276..3af59611ab 100644 --- a/addressbook/gui/component/select-names/e-select-names-manager.c +++ b/addressbook/gui/component/select-names/e-select-names-manager.c @@ -324,6 +324,7 @@ void e_select_names_manager_activate_dialog ( if (manager->names) { g_assert (GTK_WIDGET_REALIZED (GTK_WIDGET (manager->names))); + e_select_names_set_default(manager->names, id); gdk_window_show (GTK_WIDGET (manager->names)->window); gdk_window_raise (GTK_WIDGET (manager->names)->window); } else { @@ -336,6 +337,7 @@ void e_select_names_manager_activate_dialog ( e_select_names_add_section(manager->names, section->id, section->title, newmodel); gtk_object_unref(GTK_OBJECT(newmodel)); } + e_select_names_set_default(manager->names, id); gtk_signal_connect(GTK_OBJECT(manager->names), "clicked", GTK_SIGNAL_FUNC(e_select_names_clicked), manager); gtk_signal_connect(GTK_OBJECT(manager->names), "destroy", |