diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-04 02:34:58 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-04 02:34:58 +0000 |
| commit | 5f34069a3c6e9c0ecdf38c9f885438aaa2d8d12c (patch) | |
| tree | 22f33b4292824117fa53b62ec1204bde213eb7e9 /scripts/builtins.py | |
| parent | a84666e955ecd0186fbff29aa87a8da9be598435 (diff) | |
separate off execute, since its not a callback function
Diffstat (limited to 'scripts/builtins.py')
| -rw-r--r-- | scripts/builtins.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/builtins.py b/scripts/builtins.py index 46e7d28e..eaeaca22 100644 --- a/scripts/builtins.py +++ b/scripts/builtins.py @@ -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" |
