summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2025-08-20 20:49:51 -0400
committerLuke from DC <[email protected]>2025-08-25 21:50:51 +0000
commitd348da7ea809e1bcfb9e408455271395a64c877a (patch)
tree888416a5b29ef342bb2fd49fb255b05a7e1cfc0f /data
parent7ed54960995ef18d5fff9092b839565080456a40 (diff)
downloadmate-notification-daemon-d348da7ea809e1bcfb9e408455271395a64c877a.tar.bz2
mate-notification-daemon-d348da7ea809e1bcfb9e408455271395a64c877a.tar.xz
daemon: implement Desktop Notifications Specification 1.3
Add persistence support with resident/transient hints, fix icon precedence order (according to spec), and implement desktop-entry icons. Also added new 'default-timeout' and 'enable-persistence' gsettings to allow users to control timeout and persistence behavior. Spec is on https://specifications.freedesktop.org/notification-spec/1.3/ Fixes https://github.com/mate-desktop/mate-notification-daemon/issues/132 Fixes https://github.com/mate-desktop/mate-notification-daemon/issues/137 Fixes https://github.com/mate-desktop/mate-notification-daemon/issues/138 Fixes https://github.com/mate-desktop/mate-notification-daemon/issues/149
Diffstat (limited to 'data')
-rw-r--r--data/org.mate.NotificationDaemon.gschema.xml.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/org.mate.NotificationDaemon.gschema.xml.in b/data/org.mate.NotificationDaemon.gschema.xml.in
index 17ea761..0cd797f 100644
--- a/data/org.mate.NotificationDaemon.gschema.xml.in
+++ b/data/org.mate.NotificationDaemon.gschema.xml.in
@@ -30,5 +30,16 @@
<summary>Do not disturb</summary>
<description>When enabled, notifications are not shown.</description>
</key>
+ <key name="default-timeout" type="i">
+ <range min="0" max="300000"/>
+ <default>7000</default>
+ <summary>Default timeout</summary>
+ <description>Default timeout for notifications in milliseconds. Use 0 for no timeout (persistent).</description>
+ </key>
+ <key name="enable-persistence" type="b">
+ <default>true</default>
+ <summary>Enable persistence</summary>
+ <description>Allow notifications to be persistent when requested by applications.</description>
+ </key>
</schema>
</schemalist>