diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-17 21:50:46 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-17 21:50:46 +0000 |
commit | be907fddbd62ebedfc42a06421dc3e1817c9ba57 (patch) | |
tree | 8b1c57af37469953ca08224784c6cbb385ad2d19 /gui.py | |
parent | 54aa7a25b992c9efff506b9a1ec86fb0d151bf52 (diff) | |
download | anaconda-be907fddbd62ebedfc42a06421dc3e1817c9ba57.tar.gz anaconda-be907fddbd62ebedfc42a06421dc3e1817c9ba57.tar.xz anaconda-be907fddbd62ebedfc42a06421dc3e1817c9ba57.zip |
set size of the outer frame window based on X server resolution
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |