Skip to content


Browse files Browse the repository at this point in the history
disable StartPresentation action in fullscreen if document has no pages
this also disables it when no document is loaded
  • Loading branch information
monsta authored and raveit65 committed Apr 8, 2018
1 parent e710942 commit b365c22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/ev-window.c
Expand Up @@ -514,6 +514,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
ev_window_set_action_sensitive (ev_window, PAGE_SELECTOR_ACTION, has_pages);
ev_window_set_action_sensitive (ev_window, ZOOM_CONTROL_ACTION, has_pages);
ev_window_set_action_sensitive (ev_window, NAVIGATION_ACTION, FALSE);
ev_window_set_action_sensitive (ev_window, "StartPresentation", has_pages);

ev_window_update_actions (ev_window);
Expand Down

0 comments on commit b365c22

Please sign in to comment.