Skip to content

Commit 135e208

Browse files
monstaraveit65
authored andcommitted
disable StartPresentation action in fullscreen if document has no pages
this also disables it when no document is loaded
1 parent de8c0ae commit 135e208

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: shell/ev-window.c

+1
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ ev_window_setup_action_sensitivity (EvWindow *ev_window)
514514
ev_window_set_action_sensitive (ev_window, PAGE_SELECTOR_ACTION, has_pages);
515515
ev_window_set_action_sensitive (ev_window, ZOOM_CONTROL_ACTION, has_pages);
516516
ev_window_set_action_sensitive (ev_window, NAVIGATION_ACTION, FALSE);
517+
ev_window_set_action_sensitive (ev_window, "StartPresentation", has_pages);
517518

518519
ev_window_update_actions (ev_window);
519520
}

0 commit comments

Comments
 (0)