aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-02-25 02:47:43 +0800
committerMilan Crha <mcrha@redhat.com>2010-02-25 02:47:43 +0800
commitbd5612fa7a150fce24479f066b83ca3f38c485e3 (patch)
treeabdc98a56d5fb392e59a4849654dd8b944e4edf1
parent0ff27bdb091f11ac314ff6d84bd0188d1341ffae (diff)
downloadgsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.tar
gsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.tar.gz
gsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.tar.bz2
gsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.tar.lz
gsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.tar.xz
gsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.tar.zst
gsoc2013-evolution-bd5612fa7a150fce24479f066b83ca3f38c485e3.zip
Bug #610659 - Clear option is disabled after moving to other component
-rw-r--r--shell/e-shell-window-actions.c7
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);