Skip to content
Permalink
Browse files

Disable view presentation if there is no document.

  • Loading branch information...
Lubos Koudelka authored and raveit65 committed Mar 1, 2013
1 parent dc77310 commit 9c08159f6ce959f1aa0fc87da265854e9672365e
Showing with 1 addition and 0 deletions.
  1. +1 −0 shell/ev-window.c
@@ -483,6 +483,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
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, "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);

0 comments on commit 9c08159

Please sign in to comment.
You can’t perform that action at this time.