diff options
author | Victor Kareh <[email protected]> | 2025-08-29 09:14:41 -0400 |
---|---|---|
committer | Luke from DC <[email protected]> | 2025-10-10 02:11:17 +0000 |
commit | 2dd24f923f4d4f2bbc77314445a6b1b6701b3569 (patch) | |
tree | d9626b8d46c6c09fa5bb5c3195da2bbd2e3f3a5d /src/common/constants.h | |
parent | fe37d06ad1987f139d98a7b7e0a22aa96fe7260b (diff) | |
download | mate-notification-daemon-2dd24f923f4d4f2bbc77314445a6b1b6701b3569.tar.bz2 mate-notification-daemon-2dd24f923f4d4f2bbc77314445a6b1b6701b3569.tar.xz |
history: Add enable/disable toggle
This helps a bit with privacy. By disabling history, it wipes all
notifications in the D-Bus buffer and prevents further storage. The
history popup is also disabled.
Notification storage resumes when history is enabled.
Note that this just prevents the mate-notifications-daemon from storing
notifications, but it doesn't prevent other processes from capturing
them elsewhere.
Diffstat (limited to 'src/common/constants.h')
-rw-r--r-- | src/common/constants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/constants.h b/src/common/constants.h index 93bb20a..1a81977 100644 --- a/src/common/constants.h +++ b/src/common/constants.h @@ -31,6 +31,7 @@ #define GSETTINGS_KEY_DEFAULT_TIMEOUT "default-timeout" #define GSETTINGS_KEY_ENABLE_PERSISTENCE "enable-persistence" #define GSETTINGS_KEY_SHOW_COUNTDOWN "show-countdown" +#define GSETTINGS_KEY_HISTORY_ENABLED "history-enabled" #define NOTIFICATION_BUS_NAME "org.freedesktop.Notifications" #define NOTIFICATION_BUS_PATH "/org/freedesktop/Notifications" |