[evince] Disable toggle-find action for documents not supporting find
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Disable toggle-find action for documents not supporting find
- Date: Sun, 19 Oct 2014 13:25:45 +0000 (UTC)
commit bfa59b72ed0c86192ca9b1f0882ca5119aa7fe12
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Oct 19 15:24:18 2014 +0200
Disable toggle-find action for documents not supporting find
https://bugzilla.gnome.org/show_bug.cgi?id=738262
shell/ev-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index c4f1f5d..4de4732 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -502,6 +502,8 @@ ev_window_update_actions_sensitivity (EvWindow *ev_window)
can_get_text && !recent_view_mode);
ev_window_set_action_enabled (ev_window, "find", can_find &&
!recent_view_mode);
+ ev_window_set_action_enabled (ev_window, "toggle-find", can_find &&
+ !recent_view_mode);
ev_window_set_action_enabled (ev_window, "rotate-left", has_pages &&
!recent_view_mode);
ev_window_set_action_enabled (ev_window, "rotate-right", has_pages &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]