diff options
author | Milan Crha <mcrha@redhat.com> | 2009-12-18 01:17:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-12-18 01:17:21 +0800 |
commit | fe15c797a036820ac4b5e8cf232ad0a559fcd06b (patch) | |
tree | 52b9861302be476ee9671212233ea562d93634e3 /modules | |
parent | 858c42577c240a3ae83feaa6f5bb7c696da8df43 (diff) | |
download | gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.tar gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.tar.gz gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.tar.bz2 gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.tar.lz gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.tar.xz gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.tar.zst gsoc2013-evolution-fe15c797a036820ac4b5e8cf232ad0a559fcd06b.zip |
Bug #603184 - Various problems with search box in folders
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mail/e-mail-shell-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index a3dbbed7ba..7e1d00393d 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -160,6 +160,9 @@ mail_shell_view_execute_search (EShellView *shell_view) text = e_shell_content_get_search_text (shell_content); if (value == MAIL_SEARCH_ADVANCED || text == NULL || *text == '\0') { + if (value != MAIL_SEARCH_ADVANCED) + e_shell_content_set_search_rule (shell_content, NULL); + query = e_shell_content_get_search_rule_as_string (shell_content); if (!query) |