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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 52f39a8218..395dc26ae8 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -99,6 +99,8 @@ control_activate (BonoboControl *control,
if (fb->folder)
mail_refresh_folder (fb->folder, NULL, NULL);
+
+ e_search_bar_set_ui_component (E_SEARCH_BAR (fb->search), uic);
}
static void
@@ -118,6 +120,8 @@ control_deactivate (BonoboControl *control,
folder_browser_set_ui_component (fb, NULL);
folder_browser_set_shell_view (fb, CORBA_OBJECT_NIL);
+
+ e_search_bar_set_ui_component (E_SEARCH_BAR (fb->search), NULL);
}
static void