diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-11-19 13:31:07 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-11-19 13:31:07 (GMT) |
commit | 602dced23b5f8adc0981469ef967b9a833a272b1 (patch) | |
tree | 2723224a2fb1fc78672d713ebe962244a2d63fdd /tawindow.py | |
parent | 3a99fbb18e135a19e630935f77509b5c438c9586 (diff) |
using /etc/olpc-release to detect XO hardware for font scaling
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tawindow.py b/tawindow.py index f71e4c9..c357320 100644 --- a/tawindow.py +++ b/tawindow.py @@ -104,7 +104,7 @@ 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('/sys/power/olpc-pm'): + if os.path.exists('/etc/olpc-release'): tw.lead = 1.6 tw.scale = 1.0 else: |