aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
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')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3c83d7211f..6ac21d865c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+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-24 Not Zed <NotZed@Ximian.com>
* mail-display.c (drag_data_delete_cb): use uri_list before we set
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),