diff options
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 7694ab27ae..d8c5b4a39b 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -181,6 +181,9 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name) if (fb->folder) gtk_object_unref (GTK_OBJECT (fb->folder)); fb->folder = new_folder; + + gtk_widget_set_sensitive (GTK_WIDGET (fb->search_entry), camel_folder_has_search_capability (fb->folder)); + gtk_widget_set_sensitive (GTK_WIDGET (fb->search_menu), camel_folder_has_search_capability (fb->folder)); message_list_set_folder (fb->message_list, new_folder); @@ -406,7 +409,6 @@ folder_browser_gui_init (FolderBrowser *fb) gtk_widget_show (GTK_WIDGET (fb->mail_display)); gtk_widget_show (GTK_WIDGET (fb)); - } static void |