From bea4dd2c59c6d92869a10ba2227478963e832987 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 2 Jul 2002 15:56:14 +0000 Subject: (folder_browser_gui_init): Don't connect folder_browser_search_do_search to "query_changed" since we don't want the search to happen unless the user clicks "Find Now", for consistency. svn path=/trunk/; revision=17347 --- mail/ChangeLog | 7 +++++++ mail/folder-browser.c | 4 +--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 8177542ec0..131e2077a3 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2002-07-02 Ettore Perazzoli + + * folder-browser.c (folder_browser_gui_init): Don't connect + folder_browser_search_do_search to "query_changed" since we don't + want the search to happen unless the user clicks "Find Now", for + consistency. + 2002-07-02 Ettore Perazzoli * component-factory.c (create_component): Pass a tooltip to diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 6b19bf5b6b..19b35abb46 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1171,7 +1171,7 @@ folder_browser_search_do_search (ESearchBar *esb, FolderBrowser *fb) if (fb->message_list == NULL) return; - d(printf("query changed\n")); + d(printf("do search\n")); gtk_object_get (GTK_OBJECT (esb), "query", &search_word, @@ -2267,8 +2267,6 @@ folder_browser_gui_init (FolderBrowser *fb) gtk_widget_show (GTK_WIDGET (fb->search)); - gtk_signal_connect (GTK_OBJECT (fb->search), "query_changed", - GTK_SIGNAL_FUNC (folder_browser_search_do_search), fb); gtk_signal_connect (GTK_OBJECT (fb->search), "menu_activated", GTK_SIGNAL_FUNC (folder_browser_search_menu_activated), fb); gtk_signal_connect (GTK_OBJECT (fb->search), "search_activated", -- cgit v1.2.3