Skip to content

Commit 9e687fa

Browse files
fxriraveit65
authored andcommitted
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. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/0c82590
1 parent bc859fd commit 9e687fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/eom-window.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4489,6 +4489,8 @@ eom_window_construct_ui (EomWindow *window)
44894489
g_settings_bind (priv->ui_settings, EOM_CONF_UI_IMAGE_COLLECTION_RESIZABLE,
44904490
window, "collection-resizable", G_SETTINGS_BIND_GET);
44914491

4492+
update_action_groups_state (window);
4493+
44924494
if ((priv->flags & EOM_STARTUP_FULLSCREEN) ||
44934495
(priv->flags & EOM_STARTUP_SLIDE_SHOW)) {
44944496
eom_window_run_fullscreen (window, (priv->flags & EOM_STARTUP_SLIDE_SHOW));

0 commit comments

Comments
 (0)