aboutsummaryrefslogtreecommitdiff
path: root/src/volume-warning.vala
diff options
context:
space:
mode:
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.