diff options
author | Jason Conti <jason.conti@gmail.com> | 2020-08-20 09:35:44 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-08-20 14:38:04 +0200 |
commit | 82ca9185e9894121cc1d13bb06e7dc0e09dfd01b (patch) | |
tree | c48498323f58b98f3acfbc2377cedce1667bb6d0 /src/settings.h | |
parent | 77fb1c1f8f3f2856f9c991198cb231f22d19b40e (diff) | |
download | ayatana-indicator-notifications-82ca9185e9894121cc1d13bb06e7dc0e09dfd01b.tar.gz ayatana-indicator-notifications-82ca9185e9894121cc1d13bb06e7dc0e09dfd01b.tar.bz2 ayatana-indicator-notifications-82ca9185e9894121cc1d13bb06e7dc0e09dfd01b.zip |
Add our own do-not-disturb setting.
* Remove the MATE specific code from indicator-notifications-settings.
* When do-not-disturb is set the indicator will try to set do-not-disturb
on all supported desktops (currently only MATE).
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h index 53b9780..90945e1 100644 --- a/src/settings.h +++ b/src/settings.h @@ -9,7 +9,11 @@ #define NOTIFICATIONS_KEY_BLACKLIST "blacklist" #define NOTIFICATIONS_KEY_BLACKLIST_HINTS "blacklist-hints" #define NOTIFICATIONS_KEY_CLEAR_MC "clear-on-middle-click" +#define NOTIFICATIONS_KEY_DND "do-not-disturb" #define NOTIFICATIONS_KEY_HIDE_INDICATOR "hide-indicator" #define NOTIFICATIONS_KEY_MAX_ITEMS "max-items" +#define MATE_SCHEMA "org.mate.NotificationDaemon" +#define MATE_KEY_DND "do-not-disturb" + #endif |