Skip to content
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 8, 2018
1 parent de8c0ae commit 135e208287fdb864f7e536ff3a1a161a939e6102
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 135e208

Please sign in to comment.