]> Dogcows Code - chaz/openbox/commitdiff
split the menus out so they aren't nested in the example
authorDana Jansens <danakj@orodu.net>
Thu, 28 Aug 2003 02:16:29 +0000 (02:16 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 28 Aug 2003 02:16:29 +0000 (02:16 +0000)
data/menu

index 46aefcf95880c36e1b14ba8e0ce23a8b9ee7846f..ce2ccb44d541b46a99bda997b208a98474494577 100644 (file)
--- a/data/menu
+++ b/data/menu
@@ -1,32 +1,36 @@
 <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="apps" 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="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 -->
+  <menu id="apps-menu">
+  <menu id="games-menu">
+  <separator />
   <item label="Restart">
     <action name="restart" />
   </item>
This page took 0.023903 seconds and 4 git commands to generate.