mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
menu: do not require label attribute for highest level menu definition
Allow highest level menu definitions - typically used for root-menu and
client-menu - to be defined like this:
<openbox_menu>
<menu id="">
</menu>
</openbox>
Previously this required a label attribute (which was not used for
anything and could be an empty string) as show below:
<openbox_menu>
<menu id="" label="">
</menu>
</openbox>
Closes issue #472
This commit is contained in:
parent
ac5c9dae00
commit
70421b1207
3 changed files with 39 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ A menu file must be entirely enclosed within <openbox_menu> and
|
|||
</openbox_menu> tags. Inside these tags, menus are specified as follows:
|
||||
|
||||
```
|
||||
<menu id="" label="">
|
||||
<menu id="">
|
||||
|
||||
<!-- A menu entry with an action, for example to execute an application -->
|
||||
<item label="">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue