summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index a468322b7..72cf941af 100755
--- a/gui.py
+++ b/gui.py
@@ -273,9 +273,12 @@ class MessageWindow:
win.keyboard_ungrab()
class InstallInterface:
- def __init__ (self, runres, nofbmode):
- self.runres = runres
- self.nofbmode = nofbmode
+ def __init__ (self):
+ # figure out if we want to run interface at 800x600 or 640x480
+ if screen_width() >= 800:
+ self.runres = "800x600"
+ else:
+ self.runres = "640x480"
def __del__ (self):
pass