← Back to team overview

ayatana-commits team mailing list archive

[Branch ~dbusmenu-team/dbusmenu/trunk] Rev 65: Spec fixes

 

Merge authors:
  Aurélien Gâteau (agateau)
Related merge proposals:
  https://code.launchpad.net/~agateau/dbusmenu/spec/+merge/18635
  proposed by: Aurélien Gâteau (agateau)
------------------------------------------------------------
revno: 65 [merge]
committer: Ted Gould <ted@xxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-02-04 16:15:44 -0800
message:
  Spec fixes
modified:
  libdbusmenu-glib/dbus-menu.xml


--
lp:dbusmenu
https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk

Your team ayatana-commits is subscribed to branch lp:dbusmenu.
To unsubscribe from this branch go to https://code.launchpad.net/~dbusmenu-team/dbusmenu/trunk/+edit-subscription.
=== modified file 'libdbusmenu-glib/dbus-menu.xml'
--- libdbusmenu-glib/dbus-menu.xml	2010-02-02 01:44:14 +0000
+++ libdbusmenu-glib/dbus-menu.xml	2010-02-04 23:56:30 +0000
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-A library to allow applictions to provide simple indications of
+A library to allow applications to provide simple indications of
 information to be displayed to users of the application through the
 interface shell.
 
@@ -8,7 +8,7 @@
 
 Authors:
     Ted Gould <ted@xxxxxxxxxxxxx>
-    Aurelien Gateau <ted@xxxxxxxxxxxxx>
+    Aurélien Gâteau <aurelien.gateau@xxxxxxxxxxxxx>
 
 This program is free software: you can redistribute it and/or modify it 
 under the terms of either or both of the following licenses:
@@ -37,6 +37,9 @@
 		Items are represented with a unique numeric id and a dictionary of
 		properties.
 
+		To reduce the amount of DBus traffic, a property should only be returned
+		if its value is not the default value.
+
 		Available properties are:
 
 		<table>
@@ -151,13 +154,13 @@
 			XML syntax:
 
 			@verbatim
-<menu id="1" revision="2"> # Root container
-	<menu id="2" revision="2"> # First level menu, for example "File"
-		<menu id="3" revision="2"/> ~ Second level menu, for example "Open"
-		<menu id="4" revision="3"/>
+<menu id="0"> # Root container
+	<menu id="1"> # First level menu, for example "File"
+		<menu id="2"/> ~ Second level menu, for example "Open"
+		<menu id="3"/>
 		...
 	</menu>
-	<menu id="5" revision="2"> # Another first level menu, say "Edit"
+	<menu id="4"> # Another first level menu, say "Edit"
 		...
 	</menu>
 	...