From fb84cc9a9a3ad37087aa63e59e5558affa3414d8 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 17 Dec 2009 20:29:11 +0100 Subject: Bug #593896 - "Search -> Find now" should not be always enabled --- shell/e-shell-content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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); -- cgit