[evolution-data-server/evolution-data-server-3-12] Bug 741787 - [Maildir] Cannot create subfolder 'Inbox'
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] Bug 741787 - [Maildir] Cannot create subfolder 'Inbox'
- Date: Wed, 7 Jan 2015 11:06:34 +0000 (UTC)
commit fa1b64ed7cbe53c9f672542a5086fc05fdecbe7c
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 b2b4e84..1b5f08d 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]