[gnome-shell] gdm: pull async fix from upstream
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gdm: pull async fix from upstream
- Date: Tue, 7 Dec 2010 19:31:41 +0000 (UTC)
commit e425a183f7e36371379e9ada91e2632f0a840a52
Author: Ray Strode <rstrode redhat com>
Date: Thu Nov 18 00:05:02 2010 -0500
gdm: pull async fix from upstream
This prevents a race at start up that could prevent the user
from getting loaded properly.
In the near future we need to drop the gdm user code entirely
and switch to using the accountsservice library.
src/gdmuser/gdm-user-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c
index b60e5a6..d3df15a 100644
--- a/src/gdmuser/gdm-user-manager.c
+++ b/src/gdmuser/gdm-user-manager.c
@@ -1199,6 +1199,8 @@ on_list_cached_users_finished (DBusGProxy *proxy,
return;
}
+ maybe_set_is_loaded (manager);
+
g_ptr_array_foreach (paths, (GFunc)add_new_user_for_object_path, manager);
g_ptr_array_foreach (paths, (GFunc)g_free, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]