summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-02-06 21:10:55 +0000
committerMike Fulbright <msf@redhat.com>2003-02-06 21:10:55 +0000
commit32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa (patch)
treebbd70b584c039c35ff6baabf93df111103a7f2d2 /installclass.py
parent05ee64fb5a6aa8cc828f4ab0506cf0c77617561d (diff)
downloadanaconda-32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa.tar.gz
anaconda-32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa.tar.xz
anaconda-32e4d9af4ca182ad84851f1d4ed24cb8dc7b07aa.zip
fix for bug #80417
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py8
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"