[gdm/multi-stack: 2/35] Don't set list-visible unless the widget is visible
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 2/35] Don't set list-visible unless the widget is visible
- Date: Thu, 17 Feb 2011 17:30:48 +0000 (UTC)
commit f9fb5f69d92799e2df7e4756716f1a092464c50f
Author: Ray Strode <rstrode redhat com>
Date: Wed Jul 7 17:16:38 2010 -0400
Don't set list-visible unless the widget is visible
list-visible is a special property that means the
list part of the chooser widget is visible. We need
to make sure we only report it visible when the
chooser itself is visible otherwise the property is
a lie.
This fixes focus handling when the conversation list
isn't visible to begin with.
gui/simple-greeter/gdm-chooser-widget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-chooser-widget.c b/gui/simple-greeter/gdm-chooser-widget.c
index ebbfdb9..e81bd77 100644
--- a/gui/simple-greeter/gdm-chooser-widget.c
+++ b/gui/simple-greeter/gdm-chooser-widget.c
@@ -699,7 +699,7 @@ update_chooser_visibility (GdmChooserWidget *widget)
if (gdm_chooser_widget_get_number_of_items (widget) > 0) {
gtk_widget_show (widget->priv->frame);
- set_chooser_list_visible (widget, TRUE);
+ set_chooser_list_visible (widget, gtk_widget_get_visible (widget));
} else {
gtk_widget_hide (widget->priv->frame);
set_chooser_list_visible (widget, FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]