diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-03-16 12:11:27 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-03-16 12:11:27 +0000 |
commit | 205489a9c85c3c3d5d2caa7f48850cf04f29a70d (patch) | |
tree | 880591392fbbf89cf1fd80c3f7b2d2df9ef65d61 /src/volume-widget.c | |
parent | d0ef5f9435e10d39baea01c9d240e4149a80944c (diff) | |
download | ayatana-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.c | 3 |
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, |