aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-24 00:03:07 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-24 00:03:07 +0800
commitef539c50b7678a286964ee8051b4ce4127dc0837 (patch)
treee27cdea6d54152b57b1b17b91c3e87c3f0bd33e8 /mail/folder-browser.c
parent7f9b336892181f3e1d25883804ac7f059d21071a (diff)
downloadgsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.gz
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.tar.zst
gsoc2013-evolution-ef539c50b7678a286964ee8051b4ce4127dc0837.zip
Also perform a search on the query_changed signal, which is what gets
2002-07-22 Peter Williams <peterw@ximian.com> * folder-browser.c (folder_browser_gui_init): Also perform a search on the query_changed signal, which is what gets emitted when the Search menu is used. 2002-07-22 Peter Williams <peterw@ximian.com> * e-filter-bar.c (do_advanced): Break out the code for creating the advanced rule editor into a separate function, so that... (menubar_activated): ... can also create an Advanced dialog; needed when the Search menu's advanced button is used. (option_changed): Change this to call the function instead of having all the code to itself. * e-search-bar.h: Add id's for the FIND_NOW and CLEAR actions so that other code (eg, EFilterBar) doesn't get confused by an old id being used when the search-activated signal gets emitted. * e-search-bar.c (clear_search): Set the item_id to CLEAR before emitting the signal. (search_now_verb_cb): Just make this emit query_changed, as the button in the toolbar does. svn path=/trunk/; revision=17550
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 605b33d751..53b410c9b0 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -2288,6 +2288,8 @@ folder_browser_gui_init (FolderBrowser *fb)
GTK_SIGNAL_FUNC (folder_browser_search_menu_activated), fb);
gtk_signal_connect (GTK_OBJECT (fb->search), "search_activated",
GTK_SIGNAL_FUNC (folder_browser_search_do_search), fb);
+ gtk_signal_connect (GTK_OBJECT (fb->search), "query_changed",
+ GTK_SIGNAL_FUNC (folder_browser_search_do_search), fb);
gtk_table_attach (GTK_TABLE (fb), GTK_WIDGET (fb->search),