[gnome-control-center] sound: Fix visibility of bar when orientation is the same as the default



commit e9a833af128fca62431763a90fb71443bc07e132
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Mar 17 11:31:54 2015 +0100

    sound: Fix visibility of bar when orientation is the same as the default
    
    This will fix the bar not showing up when we switch the default
    orientation. When we changed the orientation, we went through
    update_layout() which shows the frame at the end. _init() didn't do
    that.

 panels/sound/gvc-channel-bar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-channel-bar.c b/panels/sound/gvc-channel-bar.c
index 926dfc8..f8d64a2 100644
--- a/panels/sound/gvc-channel-bar.c
+++ b/panels/sound/gvc-channel-bar.c
@@ -949,6 +949,7 @@ gvc_channel_bar_init (GvcChannelBar *bar)
         bar->priv->scale_box = _scale_box_new (bar);
 
         gtk_container_add (GTK_CONTAINER (frame), bar->priv->scale_box);
+        gtk_widget_show_all (frame);
 }
 
 static void


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