aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 868553f971..b77454f3d5 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,10 @@
2002-09-11 Jeffrey Stedfast <fejj@ximian.com>
+ * folder-browser.c (folder_browser_query_changed): Only abort if
+ the user selected ADVANCED_SEARCH, not the other way around. Any
+ other menu item and we are supposed to perform an actual
+ search. Fixes bug #30183.
+
* mail-display.c (pixbuf_for_mime_type): check the new gnome-vfs
icon_filename key. If that fails, fall back to checking
icon-filename. Also don't leak the fm_icon string and rearranged
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 0d31cb479a..008d62dd8d 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1216,9 +1216,9 @@ folder_browser_search_do_search (ESearchBar *esb, FolderBrowser *fb)
static void
folder_browser_query_changed (ESearchBar *esb, FolderBrowser *fb)
{
- if (e_search_bar_get_item_id (esb) != E_FILTERBAR_ADVANCED_ID)
+ if (e_search_bar_get_item_id (esb) == E_FILTERBAR_ADVANCED_ID)
return;
-
+
folder_browser_search_do_search (esb, fb);
}