[evolution-data-server] Bug 741787 - [Maildir] Cannot create subfolder 'Inbox'
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 741787 - [Maildir] Cannot create subfolder 'Inbox'
- Date: Wed, 7 Jan 2015 11:05:28 +0000 (UTC)
commit 299bbe0c48bbb738e57808c607f6f09b69cafdad
Author: Milan Crha <mcrha redhat com>
Date: Wed Jan 7 12:05:35 2015 +0100
Bug 741787 - [Maildir] Cannot create subfolder 'Inbox'
camel/providers/local/camel-maildir-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 1ea928b..fc1cbb9 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -123,7 +123,7 @@ maildir_store_create_folder_sync (CamelStore *store,
goto exit;
}
- if (!g_ascii_strcasecmp (folder_name, "Inbox")) {
+ if ((!parent_name || !*parent_name) && !g_ascii_strcasecmp (folder_name, "Inbox")) {
g_set_error (
error, CAMEL_STORE_ERROR,
CAMEL_STORE_ERROR_NO_FOLDER,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]