aboutsummaryrefslogtreecommitdiff
path: root/src/volume-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-16 12:11:27 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-16 12:11:27 +0000
commit205489a9c85c3c3d5d2caa7f48850cf04f29a70d (patch)
tree880591392fbbf89cf1fd80c3f7b2d2df9ef65d61 /src/volume-widget.c
parentd0ef5f9435e10d39baea01c9d240e4149a80944c (diff)
downloadayatana-indicator-sound-205489a9c85c3c3d5d2caa7f48850cf04f29a70d.tar.gz
ayatana-indicator-sound-205489a9c85c3c3d5d2caa7f48850cf04f29a70d.tar.bz2
ayatana-indicator-sound-205489a9c85c3c3d5d2caa7f48850cf04f29a70d.zip
removed the restriction of not being able to use the key shortcuts on the slider if its muted@
Diffstat (limited to 'src/volume-widget.c')
-rw-r--r--src/volume-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/volume-widget.c b/src/volume-widget.c
index 55e81b3..f638bd4 100644
--- a/src/volume-widget.c
+++ b/src/volume-widget.c
@@ -83,7 +83,8 @@ volume_widget_init (VolumeWidget *self)
priv->ido_volume_slider = ido_scale_menu_item_new_with_range ("VOLUME", IDO_RANGE_STYLE_DEFAULT, 0, 0, 100, 1);
g_object_ref (priv->ido_volume_slider);
- ido_scale_menu_item_set_style (IDO_SCALE_MENU_ITEM (priv->ido_volume_slider), IDO_SCALE_MENU_ITEM_STYLE_IMAGE);
+ ido_scale_menu_item_set_primary_label (IDO_SCALE_MENU_ITEM(priv->ido_volume_slider), "VOLUME");
+ ido_scale_menu_item_set_style (IDO_SCALE_MENU_ITEM (priv->ido_volume_slider), IDO_SCALE_MENU_ITEM_STYLE_IMAGE);
g_object_set(priv->ido_volume_slider, "reverse-scroll-events", TRUE, NULL);
g_signal_connect (priv->ido_volume_slider,