<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY>
<BR>
I think there should actually be two values "show-badge-number" and "badge-number". As it is a possible usage that someone would want to show it as zero, but also that you'd want to send notifications that didn't effect the badge number directly. I think that the lifecycle should be mentioned in the doc, I don't think every notification that goes by should have to have the number in it. It should only adjust when requested.<BR>
<BR>
I'm a little worried about using the notifications spec for this because there's no way to get the current state of the count. So if an application had a helper that wanted to "add one" to the count there's no way to implement that. It might make more sense to move the Dock Manager spec into something FD.o as there are a few docks that implement versions of it already:<BR>
<BR>
<A HREF="http://wiki.go-docky.com/index.php?title=Writing_Helpers#DockManager_DBus_Interface_Specification">http://wiki.go-docky.com/index.php?title=Writing_Helpers#DockManager_DBus_Interface_Specification</A><BR>
<BR>
Not sure how many of them are still being developed though.<BR>
<BR>
Ted<BR>
<BR>
On Mon, 2015-02-16 at 18:21 +0100, Bastien Nocera wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
As discussed during the Wayland meeting at FOSDEM 2015.
---
 docs/notification-spec.xml | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/docs/notification-spec.xml b/docs/notification-spec.xml
index fa1da0b..3bc0292 100644
--- a/docs/notification-spec.xml
+++ b/docs/notification-spec.xml
@@ -3,8 +3,8 @@
 <article id="index">
  <articleinfo>
   <title>Desktop Notifications Specification</title>
-  <releaseinfo>Version 1.2</releaseinfo>
-  <date>28 October 2010</date>
+  <releaseinfo>Version 1.3</releaseinfo>
+  <date>16 February 2015</date>
   <authorgroup>
    <author>
     <firstname>Mike</firstname>
@@ -674,6 +674,19 @@
       <entry>&gt;= 1.2</entry>
      </row>
      <row>
+      <entry><literal>"badge-number"</literal></entry>
+      <entry>INT32</entry>
+      <entry>
+        When set, a server can use it to show the number attached to
+        the notification on top of the application icon referenced by the
+        "desktop-entry" hint.
+        Note that servers can choose not to show the number, either because
+        they do not implement the capability, or in response to user
+        configuration to suppress its display.
+      </entry>
+      <entry>&gt;= 1.3</entry>
+     </row>
+     <row>
       <entry><literal>"category"</literal></entry>
       <entry>STRING</entry>
       <entry>


_______________________________________________
xdg mailing list
<A HREF="mailto:xdg@lists.freedesktop.org">xdg@lists.freedesktop.org</A>
<A HREF="http://lists.freedesktop.org/mailman/listinfo/xdg">http://lists.freedesktop.org/mailman/listinfo/xdg</A>
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
</BODY>
</HTML>