diff options
author | Chris Toshok <toshok@ximian.com> | 2002-02-25 19:05:39 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-02-25 19:05:39 +0800 |
commit | c08e6b265292ac62eeed3e51817c1885e50f4a7e (patch) | |
tree | 526c46e9e29df6674f5c71539bea11b7ea71c3c1 | |
parent | bafc982da4a7398d7aab35362076b8c3c9722057 (diff) | |
download | gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.tar gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.tar.gz gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.tar.bz2 gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.tar.lz gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.tar.xz gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.tar.zst gsoc2013-evolution-c08e6b265292ac62eeed3e51817c1885e50f4a7e.zip |
rename folder_browser_search_query_changed to this.
2002-02-24 Chris Toshok <toshok@ximian.com>
* folder-browser.c (folder_browser_search_do_search): rename
folder_browser_search_query_changed to this.
(folder_browser_gui_init): hook both query_changed and
search_activated up to folder_browser_search_do_search, preserving
current behavior.
svn path=/trunk/; revision=15829
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/folder-browser.c | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index c8e7c614f6..1693d29cce 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2002-02-24 Chris Toshok <toshok@ximian.com> + + * folder-browser.c (folder_browser_search_do_search): rename + folder_browser_search_query_changed to this. + (folder_browser_gui_init): hook both query_changed and + search_activated up to folder_browser_search_do_search, preserving + current behavior. + 2002-02-22 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (on_message_list_built): Removed, this wasn't diff --git a/mail/folder-browser.c b/mail/folder-browser.c index ce18258952..daab5eed88 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1129,7 +1129,7 @@ folder_browser_config_search (EFilterBar *efb, FilterRule *rule, int id, const c } static void -folder_browser_search_query_changed (ESearchBar *esb, FolderBrowser *fb) +folder_browser_search_do_search (ESearchBar *esb, FolderBrowser *fb) { char *search_word; @@ -1912,9 +1912,11 @@ 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_query_changed), fb); + 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", + GTK_SIGNAL_FUNC (folder_browser_search_do_search), fb); gtk_table_attach (GTK_TABLE (fb), GTK_WIDGET (fb->search), |