Skip to content
Browse files

Disable view presentation if there is no document.

  • Loading branch information...
Lubos Koudelka authored and raveit65 committed Mar 1, 2013
1 parent 50bdf3f commit c238f519cec9e1e1bad2eb3ed64e56854cd7522d
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 c238f51

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