From bd5612fa7a150fce24479f066b83ca3f38c485e3 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 24 Feb 2010 19:47:43 +0100 Subject: Bug #610659 - Clear option is disabled after moving to other component --- shell/e-shell-window-actions.c | 7 +------ 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3