diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-folder-cache.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 7822da91c5..3256eb2f13 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +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! + 2004-02-19 Chris Toshok <toshok@ximian.com> * em-format.c (emf_application_xpkcs7mime): wrap code with 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); |