diff options
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r-- | shell/e-shell-window-actions.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c index 79bc8b78b7..d751251eb3 100644 --- a/shell/e-shell-window-actions.c +++ b/shell/e-shell-window-actions.c @@ -2301,12 +2301,7 @@ e_shell_window_update_search_menu (EShellWindow *shell_window) source = E_FILTER_SOURCE_INCOMING; - /* Update sensitivity of search actions. */ - - sensitive = (e_shell_view_get_search_rule (shell_view) != NULL); - gtk_action_set_sensitive (ACTION (SEARCH_CLEAR), sensitive); - gtk_action_set_sensitive (ACTION (SEARCH_SAVE), sensitive); - + /* Update sensitivity of search_options action. */ sensitive = (shell_view_class->search_options != NULL); gtk_action_set_sensitive (ACTION (SEARCH_OPTIONS), sensitive); |