[evolution-data-server] Maildir: Use Inbox instead of '.' while building folder info
- From: Chenthill Palanisamy <pchen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Maildir: Use Inbox instead of '.' while building folder info
- Date: Wed, 24 Nov 2010 12:23:42 +0000 (UTC)
commit aa55d474e02c914a69da3da7755c9beef7959109
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Wed Nov 24 17:46:59 2010 +0530
Maildir: Use Inbox instead of '.' while building folder info
camel/providers/local/camel-maildir-store.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 9ecce77..a49155c 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -513,7 +513,7 @@ scan_dirs (CamelStore *store,
meta_path = maildir_get_meta_path ((CamelLocalStore *) store, ".", "maildir++");
if (!g_file_test (meta_path, G_FILE_TEST_EXISTS))
maildir_migrate_hierarchy ((CamelMaildirStore *) store, cancellable, error);
-
+
while ((d = readdir (dir))) {
gchar *full_name, *filename;
const gchar *short_name;
@@ -561,7 +561,7 @@ scan_dirs (CamelStore *store,
closedir (dir);
if (folders->len != 0) {
- if (!strcmp (topfi->full_name, "."))
+ if (!g_ascii_strcasecmp (topfi->full_name, "Inbox"))
camel_folder_info_build (folders, "", '/', TRUE);
else
camel_folder_info_build (folders, topfi->full_name, '/', TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]