aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-03 03:01:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-03 03:01:37 +0800
commit28e9c8f3e5bb9711c700a483631f9b50ffc9b851 (patch)
tree6db8211c5576808bc363baa271900a2b1929de21
parent9fc5c6a4065a4477bca0ecba521219dfd0a37c3d (diff)
downloadgsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.tar
gsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.tar.gz
gsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.tar.bz2
gsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.tar.lz
gsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.tar.xz
gsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.tar.zst
gsoc2013-evolution-28e9c8f3e5bb9711c700a483631f9b50ffc9b851.zip
Copy the flags too. Fixes the local folder case of bug #53091.
2004-02-02 Jeffrey Stedfast <fejj@ximian.com> * camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes the local folder case of bug #53091. svn path=/trunk/; revision=24571
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-store.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index c39db8f9d6..ba8b47656d 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-02 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes
+ the local folder case of bug #53091.
+
2004-01-31 Jeffrey Stedfast <fejj@ximian.com>
* providers/pop3/camel-pop3-store.c (pop3_try_authenticate): Same
diff --git a/camel/camel-store.c b/camel/camel-store.c
index c1a63e7582..44d20b3f7e 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -1060,7 +1060,8 @@ static CamelFolderInfo *folder_info_clone_rec(CamelFolderInfo *fi, CamelFolderIn
info->full_name = g_strdup(fi->full_name);
info->path = g_strdup(fi->path);
info->unread_message_count = fi->unread_message_count;
-
+ info->flags = fi->flags;
+
if (fi->sibling)
info->sibling = folder_info_clone_rec(fi->sibling, parent);
else