Skip to content
Permalink
Browse files

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 4, 2018
1 parent e710942 commit b365c22e4a9e128b98e9d63552e83c2619a879ec
Showing with 1 addition and 0 deletions.
  1. +1 −0 shell/ev-window.c
@@ -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);
}

0 comments on commit b365c22

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