diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/folder-browser.c | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 39228f7f96..4fc14e5648 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-10-23 Jeffrey Stedfast <fejj@ximian.com> + + * folder-browser.c (folder_browser_query_changed): Only perform + the search if it is either a clear or advanced search. + 2002-10-22 Mike Kestner <mkestner@ximian.com> * mail-callbacks.c (transfer_msg): pass fb->uri to the folder diff --git a/mail/folder-browser.c b/mail/folder-browser.c index f0cbb7eef5..ab9a00d66c 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1221,7 +1221,11 @@ folder_browser_search_do_search (ESearchBar *esb, FolderBrowser *fb) static void folder_browser_query_changed (ESearchBar *esb, FolderBrowser *fb) { - folder_browser_search_do_search (esb, fb); + int id; + + id = e_search_bar_get_item_id (esb); + if (id == E_SEARCHBAR_CLEAR_ID || id == E_FILTERBAR_ADVANCED_ID) + folder_browser_search_do_search (esb, fb); } void |