Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarion <marion.zepf@gmail.com>2013-08-15 19:10:01 (GMT)
committer Marion <marion.zepf@gmail.com>2013-08-15 19:10:01 (GMT)
commit63ea8f8170375392e04a7cf2bb3f6802cc8be59e (patch)
tree06791b7414cd5d0cc85e78268c31f85c13995d6f
parent1a7a10d0708772e866b992cd760c63081afe2417 (diff)
don't re-define the 'box' and 'storein' primitives when a new box is created
-rw-r--r--TurtleArt/tawindow.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index ebdc3b2..c9b2eb0 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -4556,8 +4556,6 @@ before making changes to your Turtle Blocks program'))
default=name,
logo_command='box',
help_string=_('named variable (numeric value)'))
- self.lc.def_prim('box', 1,
- lambda self, x: primitive_dictionary['box'](x))
# Regenerate the palette, which will now include the new block.
self.show_toolbar_palette(palette_name_to_index('blocks'),
@@ -4586,10 +4584,6 @@ before making changes to your Turtle Blocks program'))
default=[name, 100],
help_string=_('stores numeric value in named \
variable'))
- self.lc.def_prim(
- 'storeinbox',
- 2,
- lambda self, x, y: primitive_dictionary['setbox'](x, y))
# Regenerate the palette, which will now include the new block.
self.show_toolbar_palette(palette_name_to_index('blocks'),