[gdm/gnome-2-30] Don't show the user chooser until it is loaded
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gnome-2-30] Don't show the user chooser until it is loaded
- Date: Wed, 23 Jun 2010 19:22:10 +0000 (UTC)
commit 0456c0376c92ab8177a161231b7581980500720c
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
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 0712386..31727f2 100644
--- a/gui/simple-greeter/gdm-greeter-login-window.c
+++ b/gui/simple-greeter/gdm-greeter-login-window.c
@@ -904,6 +904,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);
@@ -1197,10 +1201,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]