aboutsummaryrefslogtreecommitdiff
path: root/src/slider-menu-item.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-09-28 10:34:38 -0400
committerPackage Import Robot <package-import@ubuntu.com>2011-09-28 10:34:38 -0400
commitaba0d7cff82cce46e80c4c26158da02561aef6cd (patch)
treec99b9ca5d7821632919c2d57cf17b707a3b53841 /src/slider-menu-item.c
parent886588b78ecf730719b5f5686e7a277dde27515d (diff)
parentbf90e843f9ecc907ab917d3d3b540014137d6964 (diff)
downloadayatana-indicator-sound-aba0d7cff82cce46e80c4c26158da02561aef6cd.tar.gz
ayatana-indicator-sound-aba0d7cff82cce46e80c4c26158da02561aef6cd.tar.bz2
ayatana-indicator-sound-aba0d7cff82cce46e80c4c26158da02561aef6cd.zip
Import upstream version 0.7.8
Diffstat (limited to 'src/slider-menu-item.c')
-rw-r--r--src/slider-menu-item.c3
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);
}