diff options
Diffstat (limited to 'tasetup.py')
-rw-r--r-- | tasetup.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |