aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-12-18 03:29:11 +0800
committerMilan Crha <mcrha@redhat.com>2009-12-18 03:29:11 +0800
commitfb84cc9a9a3ad37087aa63e59e5558affa3414d8 (patch)
treec3914fa341e2be16d3e2c4917fc79f1587fa1e3f /shell
parent134a7d4bbde9d96e1e002abebb667c5d3cde66ca (diff)
downloadgsoc2013-evolution-fb84cc9a9a3ad37087aa63e59e5558affa3414d8.tar.gz
gsoc2013-evolution-fb84cc9a9a3ad37087aa63e59e5558affa3414d8.tar.zst
gsoc2013-evolution-fb84cc9a9a3ad37087aa63e59e5558affa3414d8.zip
Bug #593896 - "Search -> Find now" should not be always enabled
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-content.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index 13f807e79b..ddddcffd66 100644
--- a/shell/e-shell-content.c
+++ b/shell/e-shell-content.c
@@ -200,7 +200,7 @@ shell_content_entry_changed_cb (EShellContent *shell_content,
shell_window = e_shell_view_get_shell_window (shell_view);
text = gtk_entry_get_text (entry);
- sensitive = (text != NULL && *text != '\0');
+ sensitive = (text != NULL && *text != '\0' && !e_hinted_entry_get_hint_shown (E_HINTED_ENTRY (entry)));
action = E_SHELL_WINDOW_ACTION_SEARCH_QUICK (shell_window);
gtk_action_set_sensitive (action, sensitive);