aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-18 09:51:24 -0600
committerTed Gould <ted@gould.cx>2015-02-18 09:51:24 -0600
commitf486b70419d7bf28a318a0edd5334537e6616b69 (patch)
tree395541fb9b61e5a7e2abf299bd054ab8fee553d4
parent7069d4f3edf885c59bebd7956a0d68adb2b99748 (diff)
downloadayatana-indicator-sound-f486b70419d7bf28a318a0edd5334537e6616b69.tar.gz
ayatana-indicator-sound-f486b70419d7bf28a318a0edd5334537e6616b69.tar.bz2
ayatana-indicator-sound-f486b70419d7bf28a318a0edd5334537e6616b69.zip
Adding a debug message to track changes
-rw-r--r--src/volume-control-pulse.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index bcbd6ea..7f7d45c 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -607,6 +607,8 @@ public class VolumeControlPulse : VolumeControl
return _volume;
}
set {
+ debug("Setting volume to %f for profile %ud because %d", value.volume, _active_sink_input, value.reason);
+
var old_high_volume = this.high_volume;
_volume = value;