diff options
author | Milan Crha <mcrha@redhat.com> | 2012-04-19 19:46:56 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-04-19 19:46:56 +0800 |
commit | 785515dcbd70d041ce3da2e7ea2283e1e7d87a31 (patch) | |
tree | b998898e8b2a9047107a32da946e0f605ffe4170 /plugins | |
parent | f95463a46e4077c90baed1b5543cd3efd5501b18 (diff) | |
download | gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.tar gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.tar.gz gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.tar.bz2 gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.tar.lz gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.tar.xz gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.tar.zst gsoc2013-evolution-785515dcbd70d041ce3da2e7ea2283e1e7d87a31.zip |
Bug #465076 - INBOX confusion with outbox
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index cf17295292..b8fd802676 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2739,10 +2739,10 @@ in_proper_folder (CamelFolder *folder) if (mail_folder_cache_get_folder_info_flags (folder_cache, folder, &flags)) { /* it should be neither trash nor junk folder, */ - res = ((flags & CAMEL_FOLDER_TYPE_TRASH) != CAMEL_FOLDER_TYPE_TRASH && - (flags & CAMEL_FOLDER_TYPE_JUNK) != CAMEL_FOLDER_TYPE_JUNK && + res = ((flags & CAMEL_FOLDER_TYPE_MASK) != CAMEL_FOLDER_TYPE_TRASH && + (flags & CAMEL_FOLDER_TYPE_MASK) != CAMEL_FOLDER_TYPE_JUNK && /* it can be Inbox */ - ( (flags & CAMEL_FOLDER_TYPE_INBOX) == CAMEL_FOLDER_TYPE_INBOX || + ( (flags & CAMEL_FOLDER_TYPE_MASK) == CAMEL_FOLDER_TYPE_INBOX || /* or any other virtual folder */ CAMEL_IS_VEE_FOLDER (folder) || /* or anything else except of sent, outbox or drafts folder */ |