Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-04-07 14:54:05 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-04-07 14:54:05 (GMT)
commit2243e97e0ecfbd39f5786cf2c6d756b235dec3f5 (patch)
tree1d39a884f259c40e15ae058a3387eb253494bdf3 /TurtleArt
parentf423c44bef89f12ae155cafe0a954b5466154f35 (diff)
added dictionary for logo commands
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tapalette.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/TurtleArt/tapalette.py b/TurtleArt/tapalette.py
index 48212ae..fbad7c3 100644
--- a/TurtleArt/tapalette.py
+++ b/TurtleArt/tapalette.py
@@ -26,6 +26,7 @@ expandable_blocks = []
block_names = {}
block_primitives = {}
default_values = {}
+logo_commands = {}
special_names = {} # Names for blocks without names for popup help
content_blocks = ['number', 'string', 'description', 'audio', 'video',
'journal']
@@ -229,6 +230,9 @@ class Block():
if self._prim_name is not None:
block_primitives[self._name] = self._prim_name
+ if self._logo_command is not None:
+ logo_commands[self._name] = self._logo_command
+
if self._default is not None:
default_values[self._name] = self._default