Commit 0c825906 authored by Felix Riemann's avatar Felix Riemann
Browse files

Ensure UI action sensitivity is set at least once

Beforehand empty windows had all UI actions active.
Activation could then spawn critical warnings. This was probably caused
by the switch to GtkApplication.
parent 4bb49b5c
......@@ -4692,6 +4692,8 @@ eog_window_construct_ui (EogWindow *window)
eog_window_can_save_changed_cb (priv->lockdown_settings,
update_action_groups_state (window);
if ((priv->flags & EOG_STARTUP_FULLSCREEN) ||
(priv->flags & EOG_STARTUP_SLIDE_SHOW)) {
eog_window_run_fullscreen (window, (priv->flags & EOG_STARTUP_SLIDE_SHOW));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment