diff options
author | Ted Gould <ted@gould.cx> | 2011-09-28 13:27:34 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-09-28 13:27:34 -0500 |
commit | 301e45c15d553b9eb7f0a66ddb7885b0b36784ab (patch) | |
tree | 2a1f7e1fcff8944a797695207614467e3fe8ac2f | |
parent | 2240d3f7d355cbcf4f27c2facea4e704b91d7ddc (diff) | |
parent | fb1369ee834e352a5150cfd8bd01d9bf4b2fa35b (diff) | |
download | ayatana-indicator-sound-301e45c15d553b9eb7f0a66ddb7885b0b36784ab.tar.gz ayatana-indicator-sound-301e45c15d553b9eb7f0a66ddb7885b0b36784ab.tar.bz2 ayatana-indicator-sound-301e45c15d553b9eb7f0a66ddb7885b0b36784ab.zip |
Only unmute if vol > 0
-rw-r--r-- | src/slider-menu-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slider-menu-item.c b/src/slider-menu-item.c index 8186fa3..165c3d5 100644 --- a/src/slider-menu-item.c +++ b/src/slider-menu-item.c @@ -113,7 +113,8 @@ handle_event (DbusmenuMenuitem * mi, */ slider_menu_item_update_volume (SLIDER_MENU_ITEM (mi), volume_input); - device_ensure_sink_is_unmuted (priv->a_sink); + if (volume_input > 0) + device_ensure_sink_is_unmuted (priv->a_sink); } |