diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-03-28 09:30:51 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-03-28 09:30:51 (GMT) |
commit | e9aa825d1f10faa9420662303d71134ad5e363a9 (patch) | |
tree | df7bfcb0b80baac5ae097079636611e14a96190d /tasetup.py | |
parent | 366e057a0110ce131c844d7885bf2fa45e2bef2c (diff) |
adding scrolled window
Diffstat (limited to 'tasetup.py')
-rw-r--r-- | tasetup.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -255,12 +255,7 @@ def setup_misc(tw): 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-183), \ - tw.status_shapes['status'],True) - else: - tw.status_spr = sprNew(tw,0,(tw.height-173), \ + tw.status_spr = sprNew(tw,0,(tw.height-175), \ tw.status_shapes['status'],True) tw.status_spr.type = 'status' setlayer(tw.status_spr,400) |