[evolution] Bug #617953 - Hide Junk messages in Search folders



commit 2d5b4f53ea6b5ac431a5c51382df6f1d4a85c247
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 6 11:41:01 2010 +0200

    Bug #617953 - Hide Junk messages in Search folders

 mail/message-list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/message-list.c b/mail/message-list.c
index ab4778a..ad7f527 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2931,7 +2931,7 @@ folder_store_supports_vjunk_folder (CamelFolder *folder)
 	if (!store)
 		return FALSE;
 
-	return (store->flags & (CAMEL_STORE_VJUNK | CAMEL_STORE_REAL_JUNK_FOLDER)) != 0;
+	return (store->flags & (CAMEL_STORE_VJUNK | CAMEL_STORE_REAL_JUNK_FOLDER)) != 0 || CAMEL_IS_VEE_FOLDER (folder);
 }
 
 /* Check if the given node is selectable in the current message list,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]