[evolution] Bug #593896 - "Search -> Find now" should not be always enabled
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #593896 - "Search -> Find now" should not be always enabled
- Date: Thu, 17 Dec 2009 19:30:19 +0000 (UTC)
commit fb84cc9a9a3ad37087aa63e59e5558affa3414d8
Author: Milan Crha <mcrha redhat com>
Date: Thu Dec 17 20:29:11 2009 +0100
Bug #593896 - "Search -> Find now" should not be always enabled
shell/e-shell-content.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c
index 13f807e..ddddcff 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]