[gdm/multi-stack: 29/48] Don't show tasklist for autologin



commit e86da900b1ecc7230a7ed68a27e43de0de9e222e
Author: Ray Strode <rstrode redhat com>
Date:   Wed Oct 21 16:08:52 2009 -0400

    Don't show tasklist for autologin

 gui/simple-greeter/gdm-greeter-login-window.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index 6ce65a0..d0d7363 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -1187,6 +1187,11 @@ begin_auto_login (GdmGreeterLoginWindow *login_window)
         set_message (login_window, _("Select language and click Log In"));
 
         switch_mode (login_window, MODE_AUTHENTICATION);
+
+        show_widget (login_window, "conversation-list", FALSE);
+        gdm_task_list_foreach_task (GDM_TASK_LIST (login_window->priv->conversation_list),
+                                    (GdmTaskListForeachFunc) reset_task,
+                                    login_window);
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]