]> Dogcows Code - chaz/openbox/commitdiff
load the plugins in the rc3 for the menus
authorDana Jansens <danakj@orodu.net>
Thu, 28 Aug 2003 07:55:01 +0000 (07:55 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 28 Aug 2003 07:55:01 +0000 (07:55 +0000)
data/menu
data/rc3

index 230a3346e017e9634d2b127a4c5ee64cc773de19..0677e73ac6664062c61b44e23f60b629e027b6bb 100644 (file)
--- a/data/menu
+++ b/data/menu
   </item>
 </menu>
 
-<menu id="client-menu" plugin="client_menu" />
-<menu id="client-list-menu" plugin="client_list_menu" />
-
 <menu id="root-menu" label="Openbox 3">
   <menu id="apps-menu" />
   <menu id="games-menu" />
   <separator />
-  <menu id="client-menu" plugin="client_menu" />
-  <separator />
   <menu id="client-list-menu" plugin="client_list_menu" />
   <separator />
   <item label="Restart">
index a3375704a210246238944df17f8de26cc4c5001f..f379d4c23d5d34609a41d59df821ddb3c5e1a229 100644 (file)
--- a/data/rc3
+++ b/data/rc3
       <action name="lower"/>
     </mousebind>
     <mousebind button="A-Right" action="press">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
     <mousebind button="A-Up" action="click">
       <action name="desktopright"/>
       <action name="unshade"/>
     </mousebind>
     <mousebind button="Right" action="press">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
   </context>
   <context name="handle">
       <action name="focus"/>
     </mousebind>
     <mousebind button="Right" action="press">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
     <mousebind button="Left" action="click">
-      <action name="showmenu"><menu>client-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_menu">client-menu</menu>
+      </action>
     </mousebind>
     <mousebind button="Left" action="doubleclick">
       <action name="close"/>
       <action name="desktopleft"/>
     </mousebind>
     <mousebind button="Middle" action="press">
-      <action name="showmenu"><menu>client-list-menu</menu></action>
+      <action name="showmenu">
+        <menu plugin="client_list_menu">client-list-menu</menu>
+      </action>
     </mousebind> 
     <mousebind button="Right" action="press">
-      <action name="showmenu"><menu>root-menu</menu></action>
+      <action name="showmenu">
+        <menu>root-menu</menu>
+      </action>
     </mousebind>
   </context>
 </mouse>
This page took 0.02759 seconds and 4 git commands to generate.