aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-28 20:25:29 -0600
committercharles kerr <charlesk@canonical.com>2015-12-28 20:25:29 -0600
commit8b26ab8871cacd5a41bd71055054f5fa730c17b4 (patch)
treecc0d2ced6600e2b63b001c9a8e99b7965abf5448 /src/service.vala
parent206279544e63eecc480a3154053cd08323986b1a (diff)
downloadayatana-indicator-sound-8b26ab8871cacd5a41bd71055054f5fa730c17b4.tar.gz
ayatana-indicator-sound-8b26ab8871cacd5a41bd71055054f5fa730c17b4.tar.bz2
ayatana-indicator-sound-8b26ab8871cacd5a41bd71055054f5fa730c17b4.zip
experiment with making volume-warning's multimedia-active property protected
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala
index 9a646a5..d1b1c32 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -49,11 +49,13 @@ public class IndicatorSound.Service: Object {
this.notify["visible"].connect ( () => this.update_root_icon () );
this.volume_control = volume;
+#if 0
this.volume_control.notify["active-stream"].connect(() => {
var b = VolumeControl.Stream.MULTIMEDIA == volume_control.active_stream;
message("updating _volume_warning.multimedia_active to %d", (int)b);
_volume_warning.multimedia_active = b;
});
+#endif
this.volume_control.active_output_changed.connect(() => {
bool headphones;
switch(volume_control.active_output) {