aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-27 12:04:01 -0600
committerTed Gould <ted@gould.cx>2015-02-27 12:04:01 -0600
commita69903b7818957b2db8fc88f4accf07961e2e431 (patch)
tree38915c0ed0b6aed4c750335c44922ecfe99c7ac8 /src
parente1362e2ddb880fba0c489fd2ceabfe867ba2f2e0 (diff)
downloadayatana-indicator-sound-a69903b7818957b2db8fc88f4accf07961e2e431.tar.gz
ayatana-indicator-sound-a69903b7818957b2db8fc88f4accf07961e2e431.tar.bz2
ayatana-indicator-sound-a69903b7818957b2db8fc88f4accf07961e2e431.zip
Only set high volume on multimedia streams
Diffstat (limited to 'src')
-rw-r--r--src/volume-control-pulse.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index 403acec..62ce88f 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -87,7 +87,7 @@ public class VolumeControlPulse : VolumeControl
/** true when high volume warnings should be shown */
public override bool high_volume {
get {
- return this._volume.volume > 0.75 && _active_port_headphone;
+ return this._volume.volume > 0.75 && _active_port_headphone && stream == "multimedia";
}
}