Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2010-03-05 15:32:38 (GMT)
committer Walter Bender <walter@sugarlabs.org>2010-03-05 15:32:38 (GMT)
commit7412b1d800456ab2f17320704e5f486e67370f00 (patch)
treea173e397dd92b8cbcee9625dc30f9664236140cc /tawindow.py
parent24cf23aca8f861f17450c2937a30989dcf53fea3 (diff)
rm spurious print
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py
index 8fec316..f99dfca 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -258,9 +258,9 @@ class TurtleArtWindow():
"""
def _expose_cb(self, win, event):
self.sprite_list.redraw_sprites()
+ # self.canvas.cr_expose(event)
return True
-
"""
Eraser_button (Always hide status block when clearing the screen.)
"""
@@ -824,6 +824,8 @@ class TurtleArtWindow():
Select a toolbar button (Used when not running Sugar).
"""
def _select_toolbar_button(self, spr):
+ if not hasattr(spr, 'name'):
+ return
if spr.name == 'run-fastoff':
self.lc.trace = 0
self.run_button(0)
@@ -1664,7 +1666,6 @@ class TurtleArtWindow():
if bot is None:
return
if top.ey > 0:
- print "reseting arm"
top.reset_y()
tx, ty = top.spr.get_xy()
tw, th = top.spr.get_dimensions()