From b4386fd4c86cc75f143011cf1629951060fbef1b Mon Sep 17 00:00:00 2001 From: Raúl Gutiérrez S Date: Wed, 27 Jan 2010 02:55:42 +0000 Subject: fixed the 'hide_blocks' block --- diff --git a/talogo.py b/talogo.py index 210e4cd..0c44696 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