]> Dogcows Code - chaz/openbox/commitdiff
separate off execute, since its not a callback function
authorDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 02:34:58 +0000 (02:34 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 02:34:58 +0000 (02:34 +0000)
scripts/builtins.py

index 46e7d28ed5c65180b68d482a2e006b5341f440d6..eaeaca22b4dcb3afdf9298d2cde580457da0ef55 100644 (file)
@@ -65,9 +65,6 @@ def resize(data):
                     data.press_clientwidth() + dx,
                     data.press_clientheight() + dy);
 
-def execute(bin, screen = 0):
-    Openbox_execute(openbox, screen, bin)
-
 def restart(data):
     Openbox_restart(openbox, "")
 
@@ -101,5 +98,12 @@ def unshade(data):
     client = Openbox_findClient(openbox, data.window())
     if not client: return
     OBClient_shade(client, 0)
+    
+#########################################
+### Convenience functions for scripts ###
+#########################################
+
+def execute(bin, screen = 0):
+    Openbox_execute(openbox, screen, bin)
 
 print "Loaded builtins.py"
This page took 0.024323 seconds and 4 git commands to generate.