aboutsummaryrefslogtreecommitdiff
path: root/src/volume-warning.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-19 21:42:15 -0600
committercharles kerr <charlesk@canonical.com>2015-12-19 21:42:15 -0600
commitcdc14fd12e145a775f7f103125f4624947ac4d95 (patch)
tree65f873b56d1bdfc75e2e4c5b43c59e7d43f076c3 /src/volume-warning.vala
parentaf0d715e8a451cac638980c67d1a4be0634a6b79 (diff)
downloadayatana-indicator-sound-cdc14fd12e145a775f7f103125f4624947ac4d95.tar.gz
ayatana-indicator-sound-cdc14fd12e145a775f7f103125f4624947ac4d95.tar.bz2
ayatana-indicator-sound-cdc14fd12e145a775f7f103125f4624947ac4d95.zip
move service.waiting_user_approve_warn into warning-volume
Diffstat (limited to 'src/volume-warning.vala')
-rw-r--r--src/volume-warning.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/volume-warning.vala b/src/volume-warning.vala
index 99ae772..4c00ba9 100644
--- a/src/volume-warning.vala
+++ b/src/volume-warning.vala
@@ -27,6 +27,9 @@ extern unowned PulseAudio.CVolume? vol_set2 (PulseAudio.CVolume? cv, uint channe
public class VolumeWarning : VolumeControl
{
+ // true if the warning dialog is currently active
+ public bool active { get; public set; default = false; }
+
// FIXME: this is temporarily necessary while bootstrapping this
// code because VolumeWarning is still subclassed from VolumeControl,
// but TBH we don't need any concept of mute here.