summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-05-23 16:44:50 +0000
committerMike Fulbright <msf@redhat.com>2003-05-23 16:44:50 +0000
commit3f19362ad161d568ac4d89a050f0b8711478aab5 (patch)
tree7e667e3318e907c5a6784eb98427cd5bf1642c98 /iw
parent3066309f24ea74c03407c92a9077fac9f8cb50fb (diff)
downloadanaconda-3f19362ad161d568ac4d89a050f0b8711478aab5.tar.gz
anaconda-3f19362ad161d568ac4d89a050f0b8711478aab5.tar.xz
anaconda-3f19362ad161d568ac4d89a050f0b8711478aab5.zip
make sure we treat all forms of generic monitors robustly
Diffstat (limited to 'iw')
-rw-r--r--iw/xconfig_gui.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 264983624..6e1b4a8d6 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -653,9 +653,12 @@ class MonitorWindow (InstallWindow):
keys = monitorslist.keys ()
keys.sort ()
- # treat Generic monitors special
- keys.remove("Generic")
- keys.insert(0, "Generic")
+ idx = 0
+ for man in ["Generic LCD Display", "Generic CRT Display", "Generic"]:
+ if man in keys:
+ keys.remove(man)
+ keys.insert(idx, man)
+ idx += 1
self.currentMonitor = None
toplevels={}
@@ -685,8 +688,8 @@ class MonitorWindow (InstallWindow):
# now insert rest of monitors, unless we match the ddc probed id
for man in keys:
models = monitorslist[man]
- if man == "Generic":
- title = _("Generic")
+ if man in ["Generic LCD Display", "Generic CRT Display"]:
+ title = _(man)
# dont sort generic, present in order in file
else:
title = man