diff options
author | Mike Fulbright <msf@redhat.com> | 2000-08-22 20:32:03 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-08-22 20:32:03 +0000 |
commit | fca102fd0560df71f012b7bef516de37524cbf5d (patch) | |
tree | 47e14f928924d2f01bc90570f3d46585300483cc /iw | |
parent | 58bc07470f23d7ccd2b515ca6b0b3eb5373b7471 (diff) | |
download | anaconda-fca102fd0560df71f012b7bef516de37524cbf5d.tar.gz anaconda-fca102fd0560df71f012b7bef516de37524cbf5d.tar.xz anaconda-fca102fd0560df71f012b7bef516de37524cbf5d.zip |
better blacklist of cards not to probe
Diffstat (limited to 'iw')
-rw-r--r-- | iw/xconfig_gui.py | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index bd78e9568..6522f215e 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -258,6 +258,20 @@ class XConfigWindow (InstallWindow): self.didTest = 0 + # cannot reliably test on i810 or Voodoo driver, or on Suns who dont + # need it since they are fixed resolution + + self.cantprobe = 0 + if not self.sunServer: + if self.todo.x.vidCards[self.todo.x.primary].has_key("DRIVER"): + curdriver = self.todo.x.vidCards[self.todo.x.primary]["DRIVER"] + noprobedriverList = ("i810", "tdfx") + for adriver in noprobedriverList: + if curdriver == adriver: + self.cantprobe = 1 + else: + self.cantprobe = 1 + def getNext (self): if self.skipme: return None @@ -272,7 +286,7 @@ class XConfigWindow (InstallWindow): else: self.todo.initlevel = 3 - if not self.sunServer: + if not self.cantprobe: if self.custom.get_active () and not self.skip.get_active (): return XCustomWindow @@ -433,7 +447,8 @@ class XConfigWindow (InstallWindow): count = count + 1 box.pack_start (table, FALSE) optbox = GtkVBox (FALSE, 5) - if not self.sunServer: + + if not self.cantprobe: test = GtkAlignment () button = GtkButton (_("Test this configuration")) button.connect ("clicked", self.testPressed) |