[evolution-data-server/evolution-data-server-3-12] Bug #728976 - [IMAPx] Ignore \NoSelect for Inbox folder
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] Bug #728976 - [IMAPx] Ignore \NoSelect for Inbox folder
- Date: Wed, 21 May 2014 11:59:20 +0000 (UTC)
commit b8922e47a8cff3ff0855a3a8ff873e963f93e72c
Author: Milan Crha <mcrha redhat com>
Date: Wed May 21 13:56:12 2014 +0200
Bug #728976 - [IMAPx] Ignore \NoSelect for Inbox folder
camel/providers/imapx/camel-imapx-store.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index 8c713e2..8a24ccb 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -371,7 +371,8 @@ imapx_store_mailbox_attributes_to_flags (CamelIMAPXMailbox *mailbox)
const gchar *attribute;
attribute = CAMEL_IMAPX_LIST_ATTR_NOSELECT;
- if (camel_imapx_mailbox_has_attribute (mailbox, attribute))
+ if (camel_imapx_mailbox_has_attribute (mailbox, attribute) &&
+ !camel_imapx_mailbox_is_inbox (camel_imapx_mailbox_get_name (mailbox)))
store_info_flags |= CAMEL_STORE_INFO_FOLDER_NOSELECT;
attribute = CAMEL_IMAPX_LIST_ATTR_NOINFERIORS;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]