[gdm/multi-stack: 29/46] Drop the other hiding stuff for now.
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 29/46] Drop the other hiding stuff for now.
- Date: Fri, 26 Mar 2010 13:36:02 +0000 (UTC)
commit f54dd4167bf0090cf5da631451f1b3edc6b22776
Author: Ray Strode <rstrode redhat com>
Date: Fri Oct 23 17:39:19 2009 -0400
Drop the other hiding stuff for now.
It depends on buttons being available that we don't have
in the multi-stack branch.
gui/simple-greeter/gdm-user-chooser-widget.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user-chooser-widget.c b/gui/simple-greeter/gdm-user-chooser-widget.c
index bff71e5..4d3c445 100644
--- a/gui/simple-greeter/gdm-user-chooser-widget.c
+++ b/gui/simple-greeter/gdm-user-chooser-widget.c
@@ -140,13 +140,7 @@ update_other_user_visibility (GdmUserChooserWidget *widget)
return;
}
- number_of_users = gdm_chooser_widget_get_number_of_items (GDM_CHOOSER_WIDGET (widget));
-
- /* we hide the Other user if it's the last one, and we show it
- * if there's another user */
- if (number_of_users == 1 && widget->priv->has_user_other) {
- remove_user_other (widget);
- } if (number_of_users >= 1 && !widget->priv->has_user_other) {
+ if (!widget->priv->has_user_other) {
add_user_other (widget);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]