summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-29 21:09:04 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-29 21:09:04 +0000
commit37f23b6c1e68f8265cb8bc25774f0a2c3c92bcc3 (patch)
tree2c9e56c48acfe152b883ec03a80a16fb9d90c8c3 /iw
parent94fb666766a4874147325c48b4f70792152a80e1 (diff)
downloadanaconda-37f23b6c1e68f8265cb8bc25774f0a2c3c92bcc3.tar.gz
anaconda-37f23b6c1e68f8265cb8bc25774f0a2c3c92bcc3.tar.xz
anaconda-37f23b6c1e68f8265cb8bc25774f0a2c3c92bcc3.zip
we can only probe video ram on i386. generalize this to be sane and not
have to be tweaked for every new arch
Diffstat (limited to 'iw')
-rw-r--r--iw/xconfig_gui.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py
index 852fb0972..f84a8e3e2 100644
--- a/iw/xconfig_gui.py
+++ b/iw/xconfig_gui.py
@@ -937,13 +937,13 @@ class XConfigWindow (InstallWindow):
self.autoBox = gtk.VBox (gtk.FALSE, 5)
arch = iutil.getArch()
- if arch == "alpha" or arch == "ia64":
+ # we can only probe video ram on i386
+ if arch != "i386":
label = makeFormattedLabel (_("Your video ram size can not be "
"autodetected. Choose your video "
"ram size from the choices below:"))
box.pack_start (label, gtk.FALSE)
- elif arch == "i386":
- # but we can on everything else
+ else:
self.autoBox = gtk.VBox (gtk.FALSE, 5)
label = makeFormattedLabel (_("In most cases, the video hardware "
@@ -954,9 +954,6 @@ class XConfigWindow (InstallWindow):
self.autoBox.pack_start (label, gtk.FALSE)
box.pack_start (self.autoBox, gtk.FALSE)
- else:
- # sparc
- return
# load in card database
self.cards = self.videocard.cardsDB()