Skip to content
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.

origin commit:
  • Loading branch information...
Felix Riemann authored and raveit65 committed Jul 23, 2011
1 parent bc859fd commit 9e687fad2c7fc2a874c41090ad3a9ba8dc7b2c4e
Showing with 2 additions and 0 deletions.
  1. +2 −0 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));

0 comments on commit 9e687fa

Please sign in to comment.
You can’t perform that action at this time.