diff options
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tawindow.py b/tawindow.py index 219427a..d3241cd 100644 --- a/tawindow.py +++ b/tawindow.py @@ -104,7 +104,8 @@ def twNew(win, path, lang, parent=None): tw.area = win.window tw.gc = tw.area.new_gc() # on an OLPC-XO-1, there is a scaling factor - if os.path.exists('/etc/olpc-release'): + if os.path.exists('/etc/olpc-release') or \ + os.path.exists('/sys/power/olpc-pm'): tw.lead = 1.6 tw.scale = 1.0 else: |