From a5b3e41ac91deb653e06c2644109160ccd9b2dcd Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 20 Feb 2004 07:30:36 +0000 Subject: switch the sense of the no select checks. TEST! 2004-02-20 Not Zed * 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 --- mail/ChangeLog | 5 +++++ mail/mail-folder-cache.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'mail') 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 + + * 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 * 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); -- cgit v1.2.3