aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-17 02:34:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-17 02:34:55 +0800
commit26ccc3eed18996fc1e87bae8e3702c1929003877 (patch)
tree8b4d042fd151ff4c5fa19ef4281daefc586c7066 /camel
parent5de7b60f7a19aad8186db52d82db3fe5e11e79d2 (diff)
downloadgsoc2013-evolution-26ccc3eed18996fc1e87bae8e3702c1929003877.tar.gz
gsoc2013-evolution-26ccc3eed18996fc1e87bae8e3702c1929003877.tar.zst
gsoc2013-evolution-26ccc3eed18996fc1e87bae8e3702c1929003877.zip
will never be true. Fixes bug #56982.
2004-04-16 Jeffrey Stedfast <fejj@ximian.com> * camel-vee-store.c (change_folder): (flags & 0) will never be true. Fixes bug #56982. svn path=/trunk/; revision=25495
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-vee-store.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 7710d6f6c3..09532b6512 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-16 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-vee-store.c (change_folder): (flags & 0) will never be
+ true. Fixes bug #56982.
+
2004-04-15 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-utils.c: Changed imap_atom_specials[]
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c
index c630eb6851..c25f252af4 100644
--- a/camel/camel-vee-store.c
+++ b/camel/camel-vee-store.c
@@ -147,7 +147,7 @@ change_folder(CamelStore *store, const char *name, guint32 flags, int count)
/*fi->url = g_strdup_printf("vfolder:%s%s#%s", ((CamelService *)store)->url->path, (flags&CHANGE_NOSELECT)?";noselect=yes":"", name);*/
fi->unread = count;
fi->flags = CAMEL_FOLDER_VIRTUAL;
- if (flags & CHANGE_ADD)
+ if (!(flags & CHANGE_DELETE))
fi->flags |= CAMEL_FOLDER_NOCHILDREN;
camel_folder_info_build_path(fi, '/');
camel_object_trigger_event(store, (flags&CHANGE_DELETE)?"folder_deleted":"folder_created", fi);