Navigation Menu

Skip to content


Ensure UI action sensitivity is set at least once
Browse files Browse the repository at this point in the history
Beforehand empty windows had all UI actions active.
Activation could then spawn critical warnings. This was probably caused
by the switch to GtkApplication.

origin commit:
  • Loading branch information
fxri authored and raveit65 committed Jul 8, 2018
1 parent bc859fd commit 9e687fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/eom-window.c
Expand Up @@ -4489,6 +4489,8 @@ eom_window_construct_ui (EomWindow *window)
g_settings_bind (priv->ui_settings, EOM_CONF_UI_IMAGE_COLLECTION_RESIZABLE,
window, "collection-resizable", G_SETTINGS_BIND_GET);

update_action_groups_state (window);

if ((priv->flags & EOM_STARTUP_FULLSCREEN) ||
(priv->flags & EOM_STARTUP_SLIDE_SHOW)) {
eom_window_run_fullscreen (window, (priv->flags & EOM_STARTUP_SLIDE_SHOW));
Expand Down

0 comments on commit 9e687fa

Please sign in to comment.