Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tasetup.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-03-26 13:16:03 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-26 13:16:03 (GMT)
commitb1e635a0e51d0d046bbee97f8d865a8d702d6951 (patch)
tree31d3143828e1c2652d36cc6d0b6016161620b0e7 /tasetup.py
parentb14bd2ac30d73e98d99a3db5a85443c241a976b7 (diff)
adding visual feedback for user-defined blocks when Python code loaded
Diffstat (limited to 'tasetup.py')
-rw-r--r--tasetup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tasetup.py b/tasetup.py
index ce324b2..f7b10d7 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -243,6 +243,9 @@ def setup_misc(tw):
tw.media_shapes = {}
tw.media_shapes['audioon'] = load_image(tw.path, '', 'audioon')
tw.media_shapes['texton'] = load_image(tw.path, '', 'texton')
+ # media blocks that replace other blocks
+ tw.media_shapes['pythonloaded'] = \
+ load_image(tw.path_lang, 'sensors', 'nop-loaded')
# status shapes get positioned at the bottom of the screen
tw.status_shapes = {}
tw.status_shapes['status'] = load_image(tw.path, '', 'status')