From 28e9c8f3e5bb9711c700a483631f9b50ffc9b851 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 2 Feb 2004 19:01:37 +0000 Subject: Copy the flags too. Fixes the local folder case of bug #53091. 2004-02-02 Jeffrey Stedfast * camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes the local folder case of bug #53091. svn path=/trunk/; revision=24571 --- camel/ChangeLog | 5 +++++ camel/camel-store.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'camel') 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 + + * camel-store.c (folder_info_clone_rec): Copy the flags too. Fixes + the local folder case of bug #53091. + 2004-01-31 Jeffrey Stedfast * 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 -- cgit v1.2.3