[gnome-control-center] sound: Dim the low/high icons associated with volume sliders



commit 139c9888b56fa6ee81506492395f96423af68138
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Dec 6 16:25:15 2012 +0100

    sound: Dim the low/high icons associated with volume sliders
    
    https://bugzilla.gnome.org/show_bug.cgi?id=689636

 panels/sound/gvc-channel-bar.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-channel-bar.c b/panels/sound/gvc-channel-bar.c
index 3d854c9..edb9a82 100644
--- a/panels/sound/gvc-channel-bar.c
+++ b/panels/sound/gvc-channel-bar.c
@@ -920,9 +920,11 @@ gvc_channel_bar_init (GvcChannelBar *bar)
 
         bar->priv->low_image = gtk_image_new_from_icon_name ("audio-volume-low-symbolic",
                                                              GTK_ICON_SIZE_MENU);
+        gtk_style_context_add_class (gtk_widget_get_style_context (bar->priv->low_image), "dim-label");
         gtk_widget_set_no_show_all (bar->priv->low_image, TRUE);
         bar->priv->high_image = gtk_image_new_from_icon_name ("audio-volume-high-symbolic",
                                                               GTK_ICON_SIZE_MENU);
+        gtk_style_context_add_class (gtk_widget_get_style_context (bar->priv->high_image), "dim-label");
         gtk_widget_set_no_show_all (bar->priv->high_image, TRUE);
 
         bar->priv->image = gtk_image_new ();



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