aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);