diff options
author | Not Zed <NotZed@Ximian.com> | 2004-02-20 15:30:36 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-02-20 15:30:36 +0800 |
commit | a5b3e41ac91deb653e06c2644109160ccd9b2dcd (patch) | |
tree | a8a8c13007a86edf701b36c868cac7484072aa1f /mail | |
parent | 40699f792b9f8a69cded6d487059cbf145c4afb7 (diff) | |
download | gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar.gz gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar.bz2 gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar.lz gsoc2013-evolution-a5b3e41ac91deb653e06c2644109160ccd9b2dcd.tar.xz 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')
-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); |