Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt/tapalette.py
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt/tapalette.py')
-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