aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
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/folder-browser.c
parent4b68843dfa4f807b5b768e65d353b30d3ca91d1a (diff)
downloadgsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar
gsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar.gz
gsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar.bz2
gsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar.lz
gsoc2013-evolution-5f737e09fe3132cee4322b52332fc83add921d99.tar.xz
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/folder-browser.c')
-rw-r--r--mail/folder-browser.c6
1 files changed, 5 insertions, 1 deletions
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