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



commit f46aa16b4e024a325f1a99960f9864207a8b9231
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.

 gnome-flashback/libsound-applet/gvc-channel-bar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libsound-applet/gvc-channel-bar.c 
b/gnome-flashback/libsound-applet/gvc-channel-bar.c
index da7dc98..26cafae 100644
--- a/gnome-flashback/libsound-applet/gvc-channel-bar.c
+++ b/gnome-flashback/libsound-applet/gvc-channel-bar.c
@@ -858,6 +858,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]