]> Dogcows Code - chaz/openbox/commitdiff
make restart's parameter optional
authorDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:51:04 +0000 (23:51 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Feb 2003 23:51:04 +0000 (23:51 +0000)
scripts/callbacks.py

index 0852a3aca8d5d68fdc6cbb54de65c2700ce1ba48..024a197e3bea156117aaef6e0c3b41d484cc572e 100644 (file)
@@ -113,7 +113,7 @@ def focus(data):
         return
     data.client.focus()
 
-def restart(data, other = ""):
+def restart(data=0, other = ""):
     """Restarts Openbox, optionally starting another window manager."""
     ob.openbox.restart(other)
 
This page took 0.022864 seconds and 4 git commands to generate.