From 29cd6b61fe1c41cf5558080beb262f47940a2095 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 02 May 2012 01:18:39 +0000 Subject: more refinements to the run/hide blocks interaction --- (limited to 'TurtleArtActivity.py') diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py index 2bd8fd6..04f6229 100644 --- a/TurtleArtActivity.py +++ b/TurtleArtActivity.py @@ -360,21 +360,21 @@ class TurtleArtActivity(activity.Activity): self.tw.lc.trace = 0 # Autohide blocks and palettes on run self.tw.hideblocks() - self.tw.run_button(0) + self.tw.run_button(0, running_from_button_push=True) gobject.timeout_add(1000, self.run_button.set_icon, 'run-fastoff') def do_step_cb(self, button): ''' Callback for step button (turtle) ''' self.step_button.set_icon('run-slowon') self.tw.lc.trace = 1 - self.tw.run_button(3) + self.tw.run_button(3, running_from_button_push=True) gobject.timeout_add(1000, self.step_button.set_icon, 'run-slowoff') def do_debug_cb(self, button): ''' Callback for debug button (bug) ''' self.debug_button.set_icon('debugon') self.tw.lc.trace = 1 - self.tw.run_button(9) + self.tw.run_button(9, running_from_button_push=True) gobject.timeout_add(1000, self.debug_button.set_icon, 'debugoff') def do_stop_cb(self, button): -- cgit v0.9.1