diff options
author | Jason Conti <jason.conti@gmail.com> | 2019-08-31 12:01:14 -0400 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2019-08-31 12:01:14 -0400 |
commit | 356e62e832cf5daf9bc50dccd3a9a38f773492a0 (patch) | |
tree | ce7bdf7abcc31af44515d72887da26f97ac5ba27 /src/settings.h | |
parent | 97656595dd5afc491cc43d67413648c2bd79d4d3 (diff) | |
download | ayatana-indicator-notifications-356e62e832cf5daf9bc50dccd3a9a38f773492a0.tar.gz ayatana-indicator-notifications-356e62e832cf5daf9bc50dccd3a9a38f773492a0.tar.bz2 ayatana-indicator-notifications-356e62e832cf5daf9bc50dccd3a9a38f773492a0.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 cb6c20e..8d12a8b 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 |