]> Dogcows Code - chaz/openbox/commitdiff
to the bottom
authorDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:51:40 +0000 (23:51 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:51:40 +0000 (23:51 +0000)
scripts/callbacks.py

index e001cc3b62c2bdb5b9e21d8a7f16eec905ec5fcb..7f7be6635e9ca7c4d7ef171acaacc772c0890caf 100644 (file)
@@ -9,14 +9,6 @@ StateRemove = 0
 StateAdd = 1
 StateToggle = 2
 
-def restart(data=0, other = ""):
-    """Restarts Openbox, optionally starting another window manager."""
-    ob.openbox.restart(other)
-
-def exit(data=0):
-    """Exits Openbox."""
-    ob.openbox.shutdown()
-
 def state_above(data, add=StateAdd):
     """Toggles, adds or removes the 'above' state on a window.
        The second paramater should one of: StateRemove, StateAdd, or
@@ -264,4 +256,12 @@ def send_to_prev_desktop(data, no_wrap=0, follow=1):
     if follow:
         change_desktop(data, d)
 
+def restart(data=0, other = ""):
+    """Restarts Openbox, optionally starting another window manager."""
+    ob.openbox.restart(other)
+
+def exit(data=0):
+    """Exits Openbox."""
+    ob.openbox.shutdown()
+
 print "Loaded callbacks.py"
This page took 0.0242 seconds and 4 git commands to generate.