Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/turtle_blocks_plugin.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-03 02:19:09 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-03 02:19:09 (GMT)
commit5c1f6192bf1ca6e1d4a62f47c6dd100e5bfee486 (patch)
tree8ad7d1dba99d0841f59e8ea96a8c1009c5e220ee /plugins/turtle_blocks_plugin.py
parent543e6590e9735f15bd315714f911096f32c6d24a (diff)
synched userdefined block names with those hardwired into tawindow
Diffstat (limited to 'plugins/turtle_blocks_plugin.py')
-rw-r--r--plugins/turtle_blocks_plugin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/turtle_blocks_plugin.py b/plugins/turtle_blocks_plugin.py
index 8a52a76..5bc9389 100644
--- a/plugins/turtle_blocks_plugin.py
+++ b/plugins/turtle_blocks_plugin.py
@@ -427,10 +427,10 @@ found in the Journal'))
self.tw.lc._def_prim('userdefined', 1,
lambda self, x: PLUGIN_DICTIONARY['userdefined']([x]))
- make_prim('userdefined2',
+ make_prim('userdefined2args',
style='basic-style-var-arg',
label=' ',
- prim_name='userdefined',
+ prim_name='userdefined2',
special_name=_('Python block'),
default=[100, 100],
help_string=_('runs code found in the tamyblock.py module \
@@ -438,10 +438,10 @@ found in the Journal'))
self.tw.lc._def_prim('userdefined2', 2,
lambda self, x, y: PLUGIN_DICTIONARY['userdefined']([x, y]))
- make_prim('userdefined3',
+ make_prim('userdefined3args',
style='basic-style-var-arg',
label=' ',
- prim_name='userdefined',
+ prim_name='userdefined3',
special_name=_('Python block'),
default=[100, 100, 100],
help_string=_('runs code found in the tamyblock.py module \