split the menus out so they aren't nested in the example

This commit is contained in:
Dana Jansens 2003-08-28 02:16:29 +00:00
parent c34ef4028e
commit 6f37c38b1c

View file

@ -1,32 +1,36 @@
<openbox_menu> <openbox_menu>
<menu id="games-menu" label="Games">
<item label="Crack-Attack">
<action name="execute"><execute>crack-attack</execute></action>
</item>
<item label="XFRisk">
<action name="execute"><execute>xfrisk</execute></action>
</item>
<item label="Quake III">
<action name="execute"><execute>quake3</execute></action>
</item>
</menu>
<menu id="apps-menu" label="Applications">
<item label="Xterm">
<action name="execute"><execute>xterm</execute></action>
</item>
<item label="Mozilla">
<action name="execute"><execute>mozilla</execute></action>
</item>
<item label="Gaim">
<action name="execute"><execute>gaim</execute></action>
</item>
<item label="Quark">
<action name="execute"><execute>strange-quark</execute></action>
</item>
</menu>
<menu id="root-menu" label="Openbox 3"> <menu id="root-menu" label="Openbox 3">
<menu id="apps" label="Applications"> <menu id="apps-menu">
<item label="Xterm"> <menu id="games-menu">
<action name="execute"><execute>xterm</execute></action> <separator />
</item>
<item label="Mozilla">
<action name="execute"><execute>mozilla</execute></action>
</item>
<item label="Gaim">
<action name="execute"><execute>gaim</execute></action>
</item>
<item label="Quark">
<action name="execute"><execute>strange-quark</execute></action>
</item>
</menu>
<menu id="games" label="Games">
<item label="Crack-Attack">
<action name="execute"><execute>crack-attack</execute></action>
</item>
<item label="XFRisk">
<action name="execute"><execute>xfrisk</execute></action>
</item>
<item label="Quake III">
<action name="execute"><execute>quake3</execute></action>
</item>
</menu>
<item label="--" /> <!-- separator -->
<item label="Restart"> <item label="Restart">
<action name="restart" /> <action name="restart" />
</item> </item>