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-28 09:30:51 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-28 09:30:51 (GMT)
commite9aa825d1f10faa9420662303d71134ad5e363a9 (patch)
treedf7bfcb0b80baac5ae097079636611e14a96190d /tasetup.py
parent366e057a0110ce131c844d7885bf2fa45e2bef2c (diff)
adding scrolled window
Diffstat (limited to 'tasetup.py')
-rw-r--r--tasetup.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/tasetup.py b/tasetup.py
index 7d13039..f84dec3 100644
--- a/tasetup.py
+++ b/tasetup.py
@@ -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)