[evolution-data-server] Bug #678289 - Filters are not applied automatically to local maildir Inbox



commit 06beac4efae68fbcbaeb09adbf9135c9cc698fac
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 17 13:34:45 2012 +0200

    Bug #678289 - Filters are not applied automatically to local maildir Inbox

 camel/providers/local/camel-maildir-folder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-folder.c b/camel/providers/local/camel-maildir-folder.c
index 2f573c8..1b23fa8 100644
--- a/camel/providers/local/camel-maildir-folder.c
+++ b/camel/providers/local/camel-maildir-folder.c
@@ -490,7 +490,7 @@ camel_maildir_folder_new (CamelStore *parent_store,
 
 	g_object_unref (settings);
 
-	if (filter_inbox && strcmp (full_name, ".") == 0)
+	if (filter_inbox && (g_str_equal (full_name, ".") || g_ascii_strcasecmp (full_name, "Inbox") == 0))
 		folder->folder_flags |= CAMEL_FOLDER_FILTER_RECENT;
 
 	folder = (CamelFolder *) camel_local_folder_construct (



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