[gdm] Remove user from new-users list if removed from accounts service
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Remove user from new-users list if removed from accounts service
- Date: Tue, 31 Aug 2010 18:28:29 +0000 (UTC)
commit ea8538cac4c6f48bffe8a4cbf67ca2fb317838a5
Author: Ray Strode <rstrode redhat com>
Date: Tue Aug 31 14:03:01 2010 -0400
Remove user from new-users list if removed from accounts service
gui/simple-greeter/gdm-user-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c
index ddb6070..138fbb6 100644
--- a/gui/simple-greeter/gdm-user-manager.c
+++ b/gui/simple-greeter/gdm-user-manager.c
@@ -859,6 +859,8 @@ on_user_removed_in_accounts_service (DBusGProxy *proxy,
user = g_hash_table_lookup (manager->priv->users_by_object_path, object_path);
+ manager->priv->new_users = g_slist_remove (manager->priv->new_users, user);
+
remove_user (manager, user);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]