From 2dd24f923f4d4f2bbc77314445a6b1b6701b3569 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Fri, 29 Aug 2025 09:14:41 -0400 Subject: 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. --- src/common/constants.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/constants.h') 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" -- cgit v1.2.1