[evince] Disable "open containing folder" action when no document is loaded
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Disable "open containing folder" action when no document is loaded
- Date: Sun, 20 Mar 2011 10:40:43 +0000 (UTC)
commit 84e0a4b913de201d35c6bd6fe0322dcb727d1df0
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Mar 20 11:37:45 2011 +0100
Disable "open containing folder" action when no document is loaded
See bug #644613.
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 9b08e5e..ad9eb14 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -442,6 +442,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ev_window_set_action_sensitive (ev_window, "FileSaveAs", has_document && ok_to_copy);
ev_window_set_action_sensitive (ev_window, "FilePrint", has_pages && ok_to_print);
ev_window_set_action_sensitive (ev_window, "FileProperties", has_document && has_properties);
+ ev_window_set_action_sensitive (ev_window, "FileOpenContainingFolder", 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]