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