[gdm/wip/initial-setup2: 28/32] initial-setup: finish login after initial setup stops
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/initial-setup2: 28/32] initial-setup: finish login after initial setup stops
- Date: Fri, 13 Apr 2012 22:18:58 +0000 (UTC)
commit 4b5dbd3e6e41fbc5dfad87480a34fa1b8f305dd3
Author: Ray Strode <rstrode redhat com>
Date: Fri Apr 13 18:08:20 2012 -0400
initial-setup: finish login after initial setup stops
gdm changed how login proceeded after the greeter stops,
since the initial-setup branch first came to be.
This commit adapts it to the latest way of doing things.
daemon/gdm-simple-slave.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index f570ad8..82f86df 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1480,8 +1480,18 @@ on_setup_session_stop (GdmGreeterSession *greeter,
g_debug ("GdmSimpleSlave: Setup stopped");
clear_initial_setup_request (slave);
remove_initial_setup_user (slave);
- gdm_slave_stopped (GDM_SLAVE (slave));
+
+ if (slave->priv->start_session_service_name == NULL) {
+ gdm_slave_stopped (GDM_SLAVE (slave));
+ } else {
+ gdm_greeter_server_stop (slave->priv->greeter_server);
+ start_session (slave);
+ }
+
+ g_object_unref (slave->priv->greeter);
+ slave->priv->greeter = NULL;
}
+
static void
run_initial_setup (GdmSimpleSlave *slave)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]