Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/plugins/turtle_blocks_extras
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-03-24 02:08:31 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-03-24 02:08:31 (GMT)
commit53a66fe8b89ba183bb9fb69c442435da4bdb75f9 (patch)
treee3ba992cc66b5cf447f7fa8ec889b0bf9256a9e0 /plugins/turtle_blocks_extras
parentf5b586b9bae80463b40be003e869cd4dfdf3e1c4 (diff)
change color of print svg
Diffstat (limited to 'plugins/turtle_blocks_extras')
-rw-r--r--plugins/turtle_blocks_extras/turtle_blocks_extras.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
index 325c4c4..8052e3a 100644
--- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py
+++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py
@@ -1010,7 +1010,7 @@ bullets'))
if flag and (self.tw.hide or self.tw.step_time == 0):
return
if type(n) == list:
- self.tw.showlabel('status', n)
+ self.tw.showlabel('print', n)
elif type(n) == str or type(n) == unicode:
if n[0:6] == 'media_' and \
n[6:].lower not in media_blocks_dictionary:
@@ -1022,27 +1022,27 @@ bullets'))
except:
debug_output("Couldn't open %s" % (n[6:]),
self.tw.running_sugar)
- self.tw.showlabel('status', dsobject.metadata['title'])
+ self.tw.showlabel('print', dsobject.metadata['title'])
dsobject.destroy()
else:
- self.tw.showlabel('status', n[6:])
+ self.tw.showlabel('print', n[6:])
except IOError:
- self.tw.showlabel('status', n)
+ self.tw.showlabel('print', n)
else:
- self.tw.showlabel('status', n)
+ self.tw.showlabel('print', n)
elif type(n) == int:
- self.tw.showlabel('status', n)
+ self.tw.showlabel('print', n)
else:
- self.tw.showlabel('status',
+ self.tw.showlabel('print',
str(round_int(n)).replace('.', self.tw.decimal_point))
def _prim_printheap(self):
""" Display contents of heap """
heap_as_string = str(self.tw.lc.heap)
if len(heap_as_string) > 80:
- self.tw.showlabel('status', str(self.tw.lc.heap)[0:79] + '…')
+ self.tw.showlabel('print', str(self.tw.lc.heap)[0:79] + '…')
else:
- self.tw.showlabel('status', str(self.tw.lc.heap))
+ self.tw.showlabel('print', str(self.tw.lc.heap))
def _prim_push(self, val):
""" Push value onto FILO """