diff options
author | Milan Crha <mcrha@redhat.com> | 2008-05-29 12:20:31 +0000 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-05-29 12:20:31 +0000 |
commit | 6d2f443a989e36770ae4b6078d8220d41ccfc419 (patch) | |
tree | 0e9afce04531c218676129a9fc783dd674eea0d1 | |
parent | 74526fd5cdcb04efde5550a692db757883d7da46 (diff) | |
download | evolution-data-server-6d2f443a989e36770ae4b6078d8220d41ccfc419.tar.gz |
** Fix for bug #326149
2008-05-29 Milan Crha <mcrha@redhat.com>
** Fix for bug #326149
* camel-imap-store-summary.c: (camel_imap_store_summary_add_from_full):
Set inbox flag only on real inboxes.
svn path=/trunk/; revision=8872
-rw-r--r-- | camel/providers/imap/ChangeLog | 7 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-store-summary.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/camel/providers/imap/ChangeLog b/camel/providers/imap/ChangeLog index d543ef4ac..6f5a49543 100644 --- a/camel/providers/imap/ChangeLog +++ b/camel/providers/imap/ChangeLog @@ -1,3 +1,10 @@ +2008-05-29 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #326149 + + * camel-imap-store-summary.c: (camel_imap_store_summary_add_from_full): + Set inbox flag only on real inboxes. + 2008-05-19 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #531591 diff --git a/camel/providers/imap/camel-imap-store-summary.c b/camel/providers/imap/camel-imap-store-summary.c index 29338a6a9..11335048c 100644 --- a/camel/providers/imap/camel-imap-store-summary.c +++ b/camel/providers/imap/camel-imap-store-summary.c @@ -339,7 +339,7 @@ camel_imap_store_summary_add_from_full(CamelImapStoreSummary *s, const char *ful d(printf(" '%s' -> '%s'\n", pathu8, full_name)); camel_store_info_set_string((CamelStoreSummary *)s, (CamelStoreInfo *)info, CAMEL_IMAP_STORE_INFO_FULL_NAME, full_name); - if (g_ascii_strcasecmp(full_name, "inbox")) + if (!g_ascii_strcasecmp(full_name, "inbox")) info->info.flags |= CAMEL_FOLDER_SYSTEM|CAMEL_FOLDER_TYPE_INBOX; } else d(printf(" failed\n")); |