[evolution-data-server] Maildir: Hide folders which do not start with a dot



commit a4780ae433fcfd0f4cd8c641348705f512e5a95d
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Tue Dec 7 12:49:43 2010 +0530

    Maildir: Hide folders which do not start with a dot

 camel/providers/local/camel-maildir-store.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 67471eb..3677df0 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -525,7 +525,8 @@ scan_dirs (CamelStore *store,
 				|| strcmp(d->d_name, "new") == 0
 				|| strcmp(d->d_name, ".#evolution") == 0
 				|| strcmp(d->d_name, ".") == 0
-				|| strcmp(d->d_name, "..") == 0)
+				|| strcmp(d->d_name, "..") == 0
+				|| !g_str_has_prefix (d->d_name, "."))
 
 				continue;
 



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