From a4c58761b6343e66056d5f94ac31670b76810402 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 10 Dec 2013 14:04:47 +0000 Subject: refactor until block --- (limited to 'plugins') diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index 3192021..62dd40f 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -93,7 +93,8 @@ boolean operators from Numbers palette')) True) palette.add_block('until', - style='clamp-style-boolean', + hidden=True, # Too big to fit on palette + style='clamp-style-until', label=_('until'), prim_name='until', default=[None, None], @@ -115,6 +116,13 @@ boolean operators from Numbers palette')) ArgSlot(TYPE_OBJECT)]), True) + # macro + palette.add_block('untilmacro', + style='basic-style-extended-vertical', + label=_('until'), + help_string=_('do-until-True operator that uses \ +boolean operators from Numbers palette')) + palette.add_block('sandwichclamp', style='clamp-style-collapsible', label=' ', -- cgit v0.9.1