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 de8c0ae commit 135e208
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 135e208

Please sign in to comment.