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.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index fa09a3e059..d99bbe2628 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -94,12 +94,11 @@ control_activate (BonoboControl *control,
folder_browser_ui_add_message (fb);
/*bonobo_ui_component_thaw (uic, NULL);*/
-
- folder_browser_set_shell_view(fb, fb_get_svi (control));
-
- if (fb->folder)
- mail_refresh_folder (fb->folder, NULL, NULL);
-
+
+ folder_browser_set_shell_view (fb, fb_get_svi (control));
+
+ folder_browser_reload (fb);
+
e_search_bar_set_ui_component (E_SEARCH_BAR (fb->search), uic);
}