diff options
author | Walter Bender <walter.bender@gmail.com> | 2012-07-05 13:28:47 (GMT) |
---|---|---|
committer | Walter Bender <walter.bender@gmail.com> | 2012-07-05 13:28:47 (GMT) |
commit | 4029ddcd1bf0da391fb26b7e717fe015bafb0fb9 (patch) | |
tree | b0bcf566bca82a61a7676efff94a6359165e2e81 /plugins | |
parent | f445a0588adb68fdaa9fc6d19f13b14fdd04f861 (diff) |
convert flow blocks to new clamp style
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index ade0508..7a9fc03 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -96,8 +96,10 @@ class Turtle_blocks_extras(Plugin): # internally expanded macro palette.add_block('while', - style='flow-style-boolean', - label=[_('while'), ' ', ' '], + # style='flow-style-boolean', + style='clamp-style-boolean', + # label=[_('while'), ' ', ' '], + label=_('while'), prim_name='while', default=[None, None, None], special_name=_('while'), @@ -106,8 +108,10 @@ boolean operators from Numbers palette')) # internally expanded macro palette.add_block('until', - style='flow-style-boolean', - label=[_('until'), ' ', ' '], + # style='flow-style-boolean', + style='clamp-style-boolean', + # label=[_('until'), ' ', ' '], + label=_('until'), prim_name='until', default=[None, None, None], special_name=_('until'), |