aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-20 15:30:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-20 15:30:36 +0800
commita5b3e41ac91deb653e06c2644109160ccd9b2dcd (patch)
treea8a8c13007a86edf701b36c868cac7484072aa1f /mail/mail-folder-cache.c
parent40699f792b9f8a69cded6d487059cbf145c4afb7 (diff)
downloadgsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar.gz
gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar.zst
gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.zip
switch the sense of the no select checks. TEST!
2004-02-20 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (unset_folder_info, setup_folder) (rename_folders): switch the sense of the no select checks. TEST! svn path=/trunk/; revision=24813
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index ecadeb50b5..c2df775195 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -274,7 +274,7 @@ unset_folder_info(struct _folder_info *mfi, int delete, int unsub)
camel_object_unhook_event(folder, "finalize", folder_finalised, mfi);
}
- if (mfi->flags & CAMEL_FOLDER_NOSELECT) {
+ if ((mfi->flags & CAMEL_FOLDER_NOSELECT) == 0) {
up = g_malloc0(sizeof(*up));
up->remove = TRUE;
@@ -392,7 +392,7 @@ setup_folder(CamelFolderInfo *fi, struct _store_info *si)
up->store = si->store;
camel_object_ref(up->store);
- if (fi->flags & CAMEL_FOLDER_NOSELECT)
+ if ((fi->flags & CAMEL_FOLDER_NOSELECT) == 0)
up->add = TRUE;
e_dlist_addtail(&updates, (EDListNode *)up);
@@ -627,7 +627,7 @@ rename_folders(struct _store_info *si, const char *oldbase, const char *newbase,
up->store = si->store;
camel_object_ref(up->store);
- if (fi->flags & CAMEL_FOLDER_NOSELECT)
+ if ((fi->flags & CAMEL_FOLDER_NOSELECT) == 0)
up->add = TRUE;
e_dlist_addtail(&updates, (EDListNode *)up);