aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-05-18 14:59:12 +0800
committerMilan Crha <mcrha@redhat.com>2012-05-18 14:59:12 +0800
commit5aedd2c4cc984fe4b112e0ce098dafcddc80c46f (patch)
tree6023c995024264bbdb6ea9804d7c20f30de29159 /mail
parentbf3cd1b5ec1949c81db611c86e115e92d6601999 (diff)
downloadgsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.tar
gsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.tar.gz
gsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.tar.bz2
gsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.tar.lz
gsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.tar.xz
gsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.tar.zst
gsoc2013-evolution-5aedd2c4cc984fe4b112e0ce098dafcddc80c46f.zip
Remove camel_folder_has_search_capability()
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index b197d09488..89c7f94fee 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -4666,10 +4666,7 @@ regen_list_exec (struct _regen_list_msg *m,
m->last_row = e_tree_table_adapter_row_of_node (e_tree_get_table_adapter (tree), cursor);
/* if we have hidedeleted on, use a search to find it out, merge with existing search if set */
- if (!camel_folder_has_search_capability (m->folder)) {
- /* if we have no search capability, dont let search or hide deleted work */
- expr = NULL;
- } else if (m->hidedel) {
+ if (m->hidedel) {
if (m->hidejunk) {
if (m->search) {
expr = g_alloca (strlen (m->search) + 92);