Skip to content

Commit

Permalink
Disable view presentation if there is no document.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lubos Koudelka authored and raveit65 committed Mar 26, 2018
1 parent dc77310 commit 9c08159
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/ev-window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9c08159

Please sign in to comment.