diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-06 21:29:42 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-06 21:29:42 +0000 |
commit | 623db3e838de960271afa186ec2350d4a2c20c00 (patch) | |
tree | bc2d335914cb2a01338a101fec52a740ad08a3a6 /iw/xconfig_gui.py | |
parent | ddbef5a386f1a58f22128ace0dd1e0b4227efda1 (diff) | |
download | anaconda-623db3e838de960271afa186ec2350d4a2c20c00.tar.gz anaconda-623db3e838de960271afa186ec2350d4a2c20c00.tar.xz anaconda-623db3e838de960271afa186ec2350d4a2c20c00.zip |
switch to get_iter_first(), fix bug calling setCurrent
Diffstat (limited to 'iw/xconfig_gui.py')
-rw-r--r-- | iw/xconfig_gui.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index 823fcdaee..3cd79770d 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -438,7 +438,7 @@ class MonitorWindow (InstallWindow): self.currentMonitor = monitorname parent = None - iter = self.monitorstore.get_iter_root() + iter = self.monitorstore.get_iter_first() next = 1 # iterate over the list, looking for the current monitor selection @@ -829,12 +829,12 @@ class XConfigWindow (InstallWindow): return 1 - def setCurrent(self, cardname, recenter=1): + def setCurrent(self, cardname, currentMem, recenter=1): self.ignoreEvents = 1 self.currentCard = cardname parent = None - iter = self.cardstore.get_iter_root() + iter = self.cardstore.get_iter_first() next = 1 # iterate over the list, looking for the current mouse selection while next: @@ -867,7 +867,7 @@ class XConfigWindow (InstallWindow): #--Some video cards don't return exact numbers, so do some hacks try: - vidRam = string.atoi (self.currentMem) + vidRam = string.atoi (currentMem) except: vidRam = 1024 |