aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 03:24:43 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-04 03:24:43 +0800
commitda19e7a409b666b83895376bf4fe5b4f8d052f86 (patch)
tree08ce0b37f43d9d6ad7142e24cc098bae38de2e04 /mail/em-folder-view.c
parent81a9c0d4f9420aa256934791e633618f4bc9315b (diff)
downloadgsoc2013-evolution-da19e7a409b666b83895376bf4fe5b4f8d052f86.tar.gz
gsoc2013-evolution-da19e7a409b666b83895376bf4fe5b4f8d052f86.tar.zst
gsoc2013-evolution-da19e7a409b666b83895376bf4fe5b4f8d052f86.zip
tedfast <fejj@ximian.com>
tedfast <fejj@ximian.com> * em-folder-view.c (emfv_set_folder): Sync the folder before replacing it with the new folder. svn path=/trunk/; revision=23619
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index ca3df84be6..9797c0e2ac 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -332,6 +332,7 @@ emfv_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri)
emfv->folder_uri = g_strdup(uri);
if (folder != emfv->folder) {
if (emfv->folder) {
+ mail_sync_folder (emfv->folder, NULL, NULL);
if (emfv->priv->folder_changed_id)
camel_object_remove_event(emfv->folder, emfv->priv->folder_changed_id);
camel_object_unref(emfv->folder);