aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
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);