[PATCH notification] spec: Add ability to advertise notifications usage

Bastien Nocera hadess at hadess.net
Mon Feb 16 09:21:24 PST 2015


As discussed during the Wayland meeting at FOSDEM 2015.
---
 docs/notification-spec.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/docs/notification-spec.xml b/docs/notification-spec.xml
index 3bc0292..74f3dd2 100644
--- a/docs/notification-spec.xml
+++ b/docs/notification-spec.xml
@@ -1287,4 +1287,21 @@
    </sect3>
   </sect2>
  </sect1>
+
+ <sect1 id="advertising-usage" xreflabel="Advertising-usage">
+  <title>Advertising notification usage</title>
+  <para>
+    To advertise the fact that they use the notification protocol,
+    applications can add the <literal>org.freedesktop.Notifications.Sender</literal>
+    string to the <literal>Implements</literal> in their .desktop file
+    so that interfaces to configure notification use can pre-populate
+    their lists of applications using notifications. For example:
+  </para>
+  <para>
+    <literal>
+      Implements=org.freedesktop.Notifications.Sender;org.freedesktop.test;
+    </literal>
+  </para>
+ </sect1>
+
 </article>




More information about the xdg mailing list