aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 565eac0dd3..021ae363cf 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -77,15 +77,10 @@ control_deactivate (BonoboControl *control,
{
folder_browser_ui_rm_list (fb);
folder_browser_ui_rm_all (fb);
-
- /* turn this back on to get the old (broken) behaviour of
- * synching when leaving a folder
- */
-#if 0
+
if (fb->folder)
mail_sync_folder (fb->folder, NULL, NULL);
-#endif
-
+
folder_browser_set_ui_component (fb, NULL);
}