diff options
author | Mike Fulbright <msf@redhat.com> | 2001-08-15 20:00:56 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-08-15 20:00:56 +0000 |
commit | 95fa90362187b8d3d8439b06c90212c313d987d0 (patch) | |
tree | 4de41722636a08ce00f239ed67affe0d08e2914d /iw | |
parent | e4af744efd53c06c2caf2f17b4f7f3f4dd60216b (diff) | |
download | anaconda-95fa90362187b8d3d8439b06c90212c313d987d0.tar.gz anaconda-95fa90362187b8d3d8439b06c90212c313d987d0.tar.xz anaconda-95fa90362187b8d3d8439b06c90212c313d987d0.zip |
proper fix for fuzzy matching of ddcprobe reported video ram
Diffstat (limited to 'iw')
-rw-r--r-- | iw/xconfig_gui.py | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index 42f254801..620fadc06 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -798,15 +798,8 @@ class XConfigWindow (InstallWindow): except: vidRam = 1024 - count = 0 - for size in self.videocard.possible_ram_sizes(): - #--Cards such as Mach64 and ATI Rage Mobility report 64k less ram - # than it should - small = size - 64 - if size == vidRam or small == vidRam: - self.ramMenu.set_active(count) - break - count = count + 1 + count = self.videocard.index_closest_ram_size(vidRam) + self.ramMenu.set_active(count) # XConfigWindow tag="xconf" def getScreen (self, dispatch, xconfig, videocard, intf): |