aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-10-24 09:50:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-10-24 09:50:06 +0800
commit5f737e09fe3132cee4322b52332fc83add921d99 (patch)
tree7f7e1a0c576f41d0ad4f9d0daed13ec6181c7ae6 /mail
parent4b68843dfa4f807b5b768e65d353b30d3ca91d1a (diff)
downloadgsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar.gz
gsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar.zst
gsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.zip
Only perform the search if it is either a clear or advanced search.
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. svn path=/trunk/; revision=18422
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c6
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