]> git.mdlowis.com Git - proto/labwc.git/commit
menu: do not require label attribute for highest level menu definition
authorJohan Malm <jgm323@gmail.com>
Thu, 11 Aug 2022 17:43:51 +0000 (18:43 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Thu, 11 Aug 2022 19:59:57 +0000 (20:59 +0100)
commit70421b12071dddbb2ba71b1ec4bc67eeeff9f5f0
treebc532ab1320442a9d0fc9118d296466d0b57a2c1
parentac5c9dae00fab736b81260df0c7247beb6478933
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
docs/labwc-menu.5.scd
docs/menu.xml
src/menu/menu.c