[gdm] Don't show the user chooser until it is loaded (cherry picked from commit 0456c0376c92ab8177a161231b



commit 7d8cebe3e17ad505aae0b27b1bcbad127ef2e8fd
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Jun 23 12:57:25 2010 -0400

    Don't show the user chooser until it is loaded
    (cherry picked from commit 0456c0376c92ab8177a161231b7581980500720c)

 gui/simple-greeter/gdm-greeter-login-window.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-greeter-login-window.c b/gui/simple-greeter/gdm-greeter-login-window.c
index e9705fe..6ef1c5b 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -999,6 +999,10 @@ on_users_loaded (GdmUserChooserWidget  *user_chooser,
 
         update_banner_message (login_window);
 
+        if (!login_window->priv->user_list_disabled) {
+                gtk_widget_show (login_window->priv->user_chooser);
+        }
+
         if (login_window->priv->timed_login_username != NULL
             && !login_window->priv->timed_login_already_enabled) {
                 request_timed_login (login_window);
@@ -1273,10 +1277,6 @@ load_theme (GdmGreeterLoginWindow *login_window)
                                  G_CALLBACK (on_user_chooser_visibility_changed),
                                  login_window);
 
-        if (!login_window->priv->user_list_disabled) {
-                gtk_widget_show (login_window->priv->user_chooser);
-        }
-
         login_window->priv->auth_banner_label = GTK_WIDGET (gtk_builder_get_object (login_window->priv->builder, "auth-banner-label"));
         /*make_label_small_italic (login_window->priv->auth_banner_label);*/
 



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