From 9e687fad2c7fc2a874c41090ad3a9ba8dc7b2c4e Mon Sep 17 00:00:00 2001 From: Felix Riemann Date: Sat, 23 Jul 2011 16:12:45 +0200 Subject: 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 --- src/eom-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eom-window.c b/src/eom-window.c index b8ca305..329b6da 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -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)); -- cgit v1.2.1