[gnome-settings-daemon] xsettings: Initialize gtk-modules setting



commit 3df5455df8aee62f32fce83dcbac9b8f0fa7fcf8
Author: Dan Winship <danw gnome org>
Date:   Fri Jan 21 14:59:39 2011 -0500

    xsettings: Initialize gtk-modules setting
    
    GnomeXSettingsManager was never reading the initial value of the
    GsdXSettingsGtk object, so the xsetting would only ever get set if it
    changed again after startup.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=640217

 plugins/xsettings/gsd-xsettings-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 0c0cf4e..2160f94 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -714,6 +714,7 @@ gnome_xsettings_manager_start (GnomeXSettingsManager *manager,
         manager->priv->gtk = gsd_xsettings_gtk_new ();
         g_signal_connect (G_OBJECT (manager->priv->gtk), "notify::gtk-modules",
                           G_CALLBACK (gtk_modules_callback), manager);
+        gtk_modules_callback (manager->priv->gtk, NULL, manager);
 
         /* Xft settings */
         update_xft_settings (manager);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]