]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs/menu.xml: fix root-menu definition
authorJohan Malm <jgm323@gmail.com>
Tue, 9 Nov 2021 07:13:40 +0000 (07:13 +0000)
committerJohan Malm <jgm323@gmail.com>
Tue, 9 Nov 2021 07:13:40 +0000 (07:13 +0000)
A menu is defined by `<menu id="" label="">`

A `<menu id="" />` element merely creates an item pointing to already
defined menu.

Fixes issue #109

docs/menu.xml

index b0b84cc4b34bc6975698e6fbb1825d9babd1204e..07dc1be14b444211be3d9b222625c9800c079017 100644 (file)
@@ -2,7 +2,7 @@
 
 <openbox_menu>
 
-<menu id="root-menu">
+<menu id="root-menu" label="">
   <item label="Web browser">
     <action name="Execute"><command>firefox</command></action>
   </item>