diff options
-rw-r--r-- | tasetup.py | 2 | ||||
-rw-r--r-- | tawindow.py | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -114,7 +114,7 @@ selectors = ( toolbaritems = ( ('stopit',75), ('eraser',75), - ('hideshow',75) + ('hideshow',75), ('run',75)) dockdetails = { diff --git a/tawindow.py b/tawindow.py index d0765b4..5de4183 100644 --- a/tawindow.py +++ b/tawindow.py @@ -402,12 +402,13 @@ def hideshow_blocks(tw,spr): def run(tw, spr): print "you better run, turtle, run!!" + setshape(spr,spr.onshape) for b in blocks(tw): if find_block_to_run(tw, b): - setshape(spr,spr.onshape) run_stack(tw, b) - setshape(spr,spr.offshape) + gobject.timeout_add(250,setshape,spr,spr.offshape) return + setshape(spr,spr.offshape) # find a stack to run (a stack without a hat) def find_block_to_run(tw, spr): |