summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-08-06 15:11:50 +0000
committerMike Fulbright <msf@redhat.com>2001-08-06 15:11:50 +0000
commit66c9827e9b8b01f22a30562ac144dfc2b61f7cd2 (patch)
tree13a8bf8d8ffa2606f6e48add1fc3df02779f367d
parent6f9b6c8d561b92f0601eb4f19acc25abc6f964a7 (diff)
downloadanaconda-66c9827e9b8b01f22a30562ac144dfc2b61f7cd2.tar.gz
anaconda-66c9827e9b8b01f22a30562ac144dfc2b61f7cd2.tar.xz
anaconda-66c9827e9b8b01f22a30562ac144dfc2b61f7cd2.zip
handle cards with only 8bpp correctly
-rw-r--r--iw/xconfig_gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 3c7eb9844..cfd4f6c00 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -229,6 +229,7 @@ class XCustomWindow (InstallWindow):
if len(available) == 1:
self.res_combo.set_popdown_strings (available["8"])
self.selectedDepth = "8"
+ self.selectedRes = available[self.selectedDepth][0]
elif len(available) >= 2:
#--If they can do 16 bit color, default to 16 bit at 1024x768
self.depth_combo.list.select_item (1)
@@ -264,7 +265,6 @@ class XCustomWindow (InstallWindow):
break
count = count + 1
-
location = available[self.selectedDepth].index(self.selectedRes)
self.swap_monitor(location)