summaryrefslogtreecommitdiff
path: root/gnome-settings-daemon
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2012-12-17 08:41:05 +0100
committerBastien Nocera <hadess@hadess.net>2012-12-17 12:13:58 +0100
commitdaa4abb8349adb958751d674bac48554d9db8572 (patch)
tree4a8abde399e9c224db80faa6f0c84e6ae67639ad /gnome-settings-daemon
parent17f17dd514b0939ba976b9215a2d0d6a9f875f39 (diff)
downloadgnome-settings-daemon-daa4abb8349adb958751d674bac48554d9db8572.tar.gz
main: Start plugins as early as possible
Even before we've registered with gnome-session, to avoid the window manager starting before some of the necessary early plugins such as the cursor plugin.
Diffstat (limited to 'gnome-settings-daemon')
-rw-r--r--gnome-settings-daemon/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnome-settings-daemon/main.c b/gnome-settings-daemon/main.c
index 4ba09e05..e834c3bf 100644
--- a/gnome-settings-daemon/main.c
+++ b/gnome-settings-daemon/main.c
@@ -186,8 +186,6 @@ on_client_registered (GObject *source_object,
g_free (object_path);
g_variant_unref (variant);
}
-
- start_settings_manager ();
}
static void
@@ -357,6 +355,7 @@ name_acquired_handler (GDBusConnection *connection,
#ifdef HAVE_IBUS
set_legacy_ibus_env_vars (proxy);
#endif
+ start_settings_manager ();
register_with_gnome_session (proxy);
watch_for_term_signal (manager);
}