From dcd76f6d1938f692ced3f88937efd420ffdbd981 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 27 Jan 2010 11:39:54 +0000 Subject: Merge branch 'master' of gitorious@git.sugarlabs.org:turtleart/refactoring --- diff --git a/talogo.py b/talogo.py index 8bc1ad6..56f1996 100644 --- a/talogo.py +++ b/talogo.py @@ -997,11 +997,11 @@ def write(lc, string, fsize): draw_text(lc.tw.turtle,string,x,y-15,int(fsize),lc.tw.turtle.width) def hideblocks(lc): - from tawindow import hideshow_button lc.tw.hide = False # force hide - hideshow_button(lc.tw) - for i in lc.tw.selbuttons: - hide(i) + lc.tw.hideshow_button() + # TODO: how do we do this with the new toolbar? + #for i in lc.tw.selbuttons: + # hide(i) if hasattr(lc.tw,"activity"): lc.tw.activity.do_hide() -- cgit v0.9.1