[gdm] greeter: fix scrollbar in greeter



commit 16f7633d280a3ed8ea4b0c99262907edb82a34eb
Author: Ray Strode <rstrode redhat com>
Date:   Tue May 24 21:26:16 2011 -0400

    greeter: fix scrollbar in greeter
    
    We were forcing the minimum height of the scrollable widget
    to be the minimum height of the tree view.  This meant the
    scrollable widget would never "clamp" the tree view to a
    reasonable size.
    
    Downstream report here:
    
    https://bugzilla.redhat.com/show_bug.cgi?id=703243

 gui/simple-greeter/gdm-scrollable-widget.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-scrollable-widget.c b/gui/simple-greeter/gdm-scrollable-widget.c
index da813f1..296ecb1 100644
--- a/gui/simple-greeter/gdm-scrollable-widget.c
+++ b/gui/simple-greeter/gdm-scrollable-widget.c
@@ -352,7 +352,6 @@ gdm_scrollable_widget_get_preferred_size (GtkWidget      *widget,
                                                                  &min_child_size,
                                                                  &nat_child_size);
 
-                                minimum_req.height += min_child_size;
                                 natural_req.height += nat_child_size;
                         }
                 }



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