[evince] Disable view presentation if there is no document.
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Disable view presentation if there is no document.
- Date: Sun, 3 Mar 2013 11:45:42 +0000 (UTC)
commit b4bf316517533aa612dfa486840915a2e80e22d4
Author: Lubos Koudelka <koudelka lubos email cz>
Date: Fri Mar 1 23:35:33 2013 +0100
Disable view presentation if there is no document.
https://bugzilla.gnome.org/show_bug.cgi?id=685591
shell/ev-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 2a3e67d..1f57146 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -455,6 +455,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ev_window_set_action_sensitive (ev_window, "FileProperties", has_document && has_properties);
ev_window_set_action_sensitive (ev_window, "FileOpenContainingFolder", has_document);
ev_window_set_action_sensitive (ev_window, "FileSendTo", has_document);
+ ev_window_set_action_sensitive (ev_window, "ViewPresentation", has_document);
/* Edit menu */
ev_window_set_action_sensitive (ev_window, "EditSelectAll", has_pages && can_get_text);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]