[gnome-control-center] sound: Add a minimum height for the output list



commit d453a9841d21314f826aa8b1be2efdb9e389669b
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Oct 24 14:41:44 2011 +0100

    sound: Add a minimum height for the output list
    
    Combined with the changes to the output list to only
    use a single line instead of multi-line status, this should
    make it easier to see multiple devices listed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=660582

 panels/sound/gvc-mixer-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-mixer-dialog.c b/panels/sound/gvc-mixer-dialog.c
index ec26d8b..c7c2614 100644
--- a/panels/sound/gvc-mixer-dialog.c
+++ b/panels/sound/gvc-mixer-dialog.c
@@ -1791,6 +1791,7 @@ gvc_mixer_dialog_constructor (GType                  type,
         gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (box),
                                              GTK_SHADOW_IN);
         gtk_container_add (GTK_CONTAINER (box), self->priv->output_treeview);
+        gtk_scrolled_window_set_min_content_height (GTK_SCROLLED_WINDOW (box), 150);
         gtk_container_add (GTK_CONTAINER (alignment), box);
 
         box = gtk_frame_new (_("Settings for the selected device:"));



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