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-19 21:30:30 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-19 21:30:30 (GMT)
commit3e480dd17927aaf4bc1017e12303cdc2593cdffd (patch)
tree14614484a0607437e20cd152eb62fc5f36217631 /tasetup.py
parent86101e1d9897d18af0dfbe5168a8b8ee2bf81286 (diff)
adding "pippy-programmable" blockv44
Diffstat (limited to 'tasetup.py')
-rw-r--r--tasetup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tasetup.py b/tasetup.py
index 5241230..ce324b2 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -94,6 +94,7 @@ selectors = (
('sensors', 55,
(('kbinput','kbinput','noarg2'),
('keyboard','keyboard','num'),
+ ('nop','userdefined','onearg',100),
('myfunc','myfunc','myfunc',_('x'),100),
('hres','hres','num'),
('vres','vres','num'),
@@ -249,13 +250,14 @@ def setup_misc(tw):
tw.status_shapes['noinput'] = load_image(tw.path, '', 'noinput')
tw.status_shapes['emptyheap'] = load_image(tw.path, '', 'emptyheap')
tw.status_shapes['nomedia'] = load_image(tw.path, '', 'nomedia')
+ tw.status_shapes['nocode'] = load_image(tw.path, '', 'nocode')
tw.status_shapes['syntaxerror'] = load_image(tw.path, '', 'syntaxerror')
# for some reason, the status bar is displayed off screen on the XO
if os.path.exists('/sys/power/olpc-pm'):
tw.status_spr = sprNew(tw,0,(tw.height-83), \
tw.status_shapes['status'],True)
else:
- tw.status_spr = sprNew(tw,0,(tw.height-70), \
+ tw.status_spr = sprNew(tw,0,(tw.height-73), \
tw.status_shapes['status'],True)
tw.status_spr.type = 'status'
setlayer(tw.status_spr,400)