From 5aedd2c4cc984fe4b112e0ce098dafcddc80c46f Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Fri, 18 May 2012 08:59:12 +0200 Subject: Remove camel_folder_has_search_capability() --- mail/message-list.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mail') 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); -- cgit