aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-09-27 16:05:02 +0100
committerConor Curran <conor.curran@canonical.com>2011-09-27 16:05:02 +0100
commitfb1369ee834e352a5150cfd8bd01d9bf4b2fa35b (patch)
tree2a1f7e1fcff8944a797695207614467e3fe8ac2f /src
parent2240d3f7d355cbcf4f27c2facea4e704b91d7ddc (diff)
downloadayatana-indicator-sound-fb1369ee834e352a5150cfd8bd01d9bf4b2fa35b.tar.gz
ayatana-indicator-sound-fb1369ee834e352a5150cfd8bd01d9bf4b2fa35b.tar.bz2
ayatana-indicator-sound-fb1369ee834e352a5150cfd8bd01d9bf4b2fa35b.zip
only unmute on a handle event if the vol update is greater than zero, circumvent feedback issues with gnome-settings-daemon
Diffstat (limited to 'src')
-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);
}