[gnome-settings-daemon] xsettings: load overrides on startup
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: load overrides on startup
- Date: Fri, 9 Mar 2012 20:15:49 +0000 (UTC)
commit 9f4cce3cf49eeed7901adf192c3369e443aaa82b
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Mar 8 11:13:31 2012 -0500
xsettings: load overrides on startup
...not just when GSettings changes.
plugins/xsettings/gsd-xsettings-manager.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index f46910f..19e31a1 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -841,6 +841,7 @@ gboolean
gnome_xsettings_manager_start (GnomeXSettingsManager *manager,
GError **error)
{
+ GVariant *overrides;
guint i;
GList *list, *l;
@@ -917,9 +918,12 @@ gnome_xsettings_manager_start (GnomeXSettingsManager *manager,
"Net/FallbackIconTheme",
"gnome");
+ overrides = g_settings_get_value (manager->priv->plugin_settings, XSETTINGS_OVERRIDE_KEY);
for (i = 0; manager->priv->managers [i]; i++) {
+ xsettings_manager_set_overrides (manager->priv->managers [i], overrides);
xsettings_manager_notify (manager->priv->managers [i]);
}
+ g_variant_unref (overrides);
gnome_settings_profile_end (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]