[gdm/multi-stack: 23/25] Drop the other hiding stuff for now.
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 23/25] Drop the other hiding stuff for now.
- Date: Tue, 20 Jul 2010 04:48:12 +0000 (UTC)
commit d994ba3b0eaa650a503ecd444c96aefe213d93ad
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 dbd972c..e942885 100644
--- a/gui/simple-greeter/gdm-user-chooser-widget.c
+++ b/gui/simple-greeter/gdm-user-chooser-widget.c
@@ -150,13 +150,7 @@ update_other_user_visibility (GdmUserChooserWidget *widget)
goto out;
}
- 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]