[openbox] Old Menus to the 3.0 syntax?
msw at cox.net
Sat Nov 15 00:48:31 EST 2003
On Sat, Nov 15, 2003 at 01:06:09AM +0100, Bartosz Oudekerk wrote:
> Now I just have to figure out how to split my menu up into several sub-menu
I thought about it, and decided it wasn't worth the effort. If you want to
nest menus, just include them one within the other.
This is how an include works:
<menu id="debian-menu" label="debian">
and then inside the root menu, just use the declared identifier:
<menu id="root-menu" label="mwilson @ rei">
<menu id="debian-menu" />
Of course, you can include whatever else you want in your root menu besides
the Debian one (or not include the Debian one at all, if you don't use
Debian ^_^ ).
If you want to nest them:
<menu id="apps-menu" label="applications">
<menu id="bottlerocket-menu" label="bottle rocket">
<menu id="couch-menu" label="couch">
<action name="execute"><execute>br a3 on</execute></action>
<action name="execute"><execute>br a3 off</execute></action>
Kind of contrived, but it should get you going.
Marc Wilson | The meek shall inherit the earth; but by that time
msw at cox.net | there won't be anything left worth inheriting.
More information about the openbox