From 1c14dc96ca40048ecb290962005f6100074b59d8 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 4 Apr 2018 12:14:28 +0300 Subject: disable StartPresentation action in fullscreen if document has no pages this also disables it when no document is loaded --- shell/ev-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/ev-window.c b/shell/ev-window.c index 3b35aa26..b0f1c11f 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -497,6 +497,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); } -- cgit v1.2.1