diff options
author | Mike Fulbright <msf@redhat.com> | 2003-02-06 21:10:55 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2003-02-06 21:10:55 +0000 |
commit | 32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa (patch) | |
tree | bbd70b584c039c35ff6baabf93df111103a7f2d2 | |
parent | 05ee64fb5a6aa8cc828f4ab0506cf0c77617561d (diff) | |
download | anaconda-32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa.tar.gz anaconda-32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa.tar.xz anaconda-32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa.zip |
fix for bug #80417
-rw-r--r-- | installclass.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py index 102f327f6..815acd9c8 100644 --- a/installclass.py +++ b/installclass.py @@ -414,6 +414,14 @@ class BaseInstallClass: xcfg = xhwstate.XF86HardwareState(defcard=id.videocard, defmon=id.monitor) availableDepths = xcfg.available_color_depths() + # XXXX -xhwstate will not always get monitor specs set + # correctly, so make sure they are set - this is another place + # where maintaining the monitor data in xhwstate and + # monitor objects IS BAD! + xcfg.set_monitor_name(id.monitor.getMonitorName()) + xcfg.set_hsync(id.monitor.getMonitorHorizSync()) + xcfg.set_vsync(id.monitor.getMonitorVertSync()) + if resolution and depth: if depth not in availableDepths: raise RuntimeError, "Invalid depth specified" |