From ea8538cac4c6f48bffe8a4cbf67ca2fb317838a5 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 31 Aug 2010 14:03:01 -0400 Subject: Remove user from new-users list if removed from accounts service --- gui/simple-greeter/gdm-user-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c index ddb60700..138fbb6c 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); } -- cgit v1.2.1