[evolution/express] Bug #610659 - Clear option is disabled after moving to other component



commit 2c2236dce85605b883ac22cf03315cc587cc9614
Author: Milan Crha <mcrha redhat com>
Date:   Wed Feb 24 19:47:43 2010 +0100

    Bug #610659 - Clear option is disabled after moving to other component

 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 b1e5886..b29a96e 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -2304,12 +2304,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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]