[evolution] Bug #610659 - Clear option is disabled after moving to other component
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #610659 - Clear option is disabled after moving to other component
- Date: Wed, 24 Feb 2010 18:48:30 +0000 (UTC)
commit bd5612fa7a150fce24479f066b83ca3f38c485e3
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 79bc8b7..d751251 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]