From 518d8af11bdadf0245735ca632e9ec1e0e50a533 Mon Sep 17 00:00:00 2001 From: Anna Marie Dirks Date: Fri, 10 Aug 2001 01:04:44 +0000 Subject: redesigned this dialog to fix bug #6815. 2001-08-09 Anna Marie Dirks * gui/component/select-names/select-names.glade: redesigned this dialog to fix bug #6815. *gui/component/select-names/e-select-names.c: connected the widgets (or one of them anyway. clahey did the rest) for my new and lovely glade file. svn path=/trunk/; revision=11862 --- addressbook/gui/component/select-names/e-select-names.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'addressbook/gui/component/select-names/e-select-names.c') diff --git a/addressbook/gui/component/select-names/e-select-names.c b/addressbook/gui/component/select-names/e-select-names.c index 23e660f9ee..256ac3b03e 100644 --- a/addressbook/gui/component/select-names/e-select-names.c +++ b/addressbook/gui/component/select-names/e-select-names.c @@ -457,7 +457,7 @@ static void e_select_names_init (ESelectNames *e_select_names) { GladeXML *gui; - GtkWidget *widget; + GtkWidget *widget, *button; gui = glade_xml_new (EVOLUTION_GLADEDIR "/select-names.glade", NULL); e_select_names->gui = gui; @@ -504,6 +504,11 @@ e_select_names_init (ESelectNames *e_select_names) gtk_signal_connect(GTK_OBJECT(e_select_names->categories_entry), "changed", GTK_SIGNAL_FUNC(update_query), e_select_names); + button = glade_xml_get_widget (gui, "button-find"); + if (button) + gtk_signal_connect(GTK_OBJECT(button), "clicked", + GTK_SIGNAL_FUNC(update_query), e_select_names); + e_select_names->folders = g_hash_table_new(g_str_hash, g_str_equal); e_select_names_hookup_shell_listener (e_select_names); -- cgit v1.2.3