diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-06 21:30:00 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-06 21:30:00 +0000 |
commit | ae97caf371ec4d60362199ab28d76e943482d64a (patch) | |
tree | 603cd42257eface7ff2c048ef42d3b9aac72b532 | |
parent | 623db3e838de960271afa186ec2350d4a2c20c00 (diff) | |
download | anaconda-ae97caf371ec4d60362199ab28d76e943482d64a.tar.gz anaconda-ae97caf371ec4d60362199ab28d76e943482d64a.tar.xz anaconda-ae97caf371ec4d60362199ab28d76e943482d64a.zip |
switch to get_iter_first()
-rw-r--r-- | iw/account_gui.py | 4 | ||||
-rw-r--r-- | iw/language_gui.py | 2 | ||||
-rw-r--r-- | iw/mouse_gui.py | 2 | ||||
-rw-r--r-- | iw/network_gui.py | 6 | ||||
-rw-r--r-- | iw/partition_dialog_gui.py | 2 | ||||
-rw-r--r-- | iw/partition_gui.py | 4 | ||||
-rw-r--r-- | iw/raid_dialog_gui.py | 2 | ||||
-rw-r--r-- | iw/timezone_map_gui.py | 2 | ||||
-rw-r--r-- | iw/upgrade_swap_gui.py | 2 |
9 files changed, 13 insertions, 13 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py index b006d65fe..6800303d5 100644 --- a/iw/account_gui.py +++ b/iw/account_gui.py @@ -38,7 +38,7 @@ class AccountWindow (InstallWindow): self.accounts.setUserList(accounts) return None - iter = self.userstore.get_iter_root() + iter = self.userstore.get_iter_first() next = iter while next: accounts.append((self.userstore.get_value(iter, 0), @@ -324,7 +324,7 @@ class AccountWindow (InstallWindow): self.passwords = {} - # XXX hack because store.get_iter_root ALWAYS returns a + # XXX hack because store.get_iter_first ALWAYS returns a # GtkTreeIter so we can't just iterate over them and find the empty one self.users = 0 diff --git a/iw/language_gui.py b/iw/language_gui.py index 302a1fbe2..be412bbd6 100644 --- a/iw/language_gui.py +++ b/iw/language_gui.py @@ -84,7 +84,7 @@ class LanguageWindow (InstallWindow): self.listView.set_property("headers-visible", gtk.FALSE) current = instLang.getCurrent() - iter = self.listStore.get_iter_root() + iter = self.listStore.get_iter_first() next = 1 while next: if self.listStore.get_value(iter, 1) == current: diff --git a/iw/mouse_gui.py b/iw/mouse_gui.py index 99652e178..5bebffe27 100644 --- a/iw/mouse_gui.py +++ b/iw/mouse_gui.py @@ -146,7 +146,7 @@ class MouseWindow(InstallWindow): self.currentMouse = currentMouse parent = None - iter = self.mousestore.get_iter_root() + iter = self.mousestore.get_iter_first() next = 1 # iterate over the list, looking for the current mouse selection while next: diff --git a/iw/network_gui.py b/iw/network_gui.py index 84c96b27e..e7b96bee0 100644 --- a/iw/network_gui.py +++ b/iw/network_gui.py @@ -36,7 +36,7 @@ class NetworkWindow(InstallWindow): def getNext(self): - iter = self.ethdevices.store.get_iter_root() + iter = self.ethdevices.store.get_iter_first() next = 1 noneonboot = 1 while next: @@ -93,7 +93,7 @@ class NetworkWindow(InstallWindow): self.network.secondaryNS = None self.network.ternaryNS = None - iter = self.ethdevices.store.get_iter_root() + iter = self.ethdevices.store.get_iter_first() next = 1 while next: model = self.ethdevices.store @@ -360,7 +360,7 @@ class NetworkWindow(InstallWindow): self.ethdevices.set_headers_visible(gtk.TRUE) self.ignoreEvents = 1 - iter = self.ethdevices.store.get_iter_root() + iter = self.ethdevices.store.get_iter_first() selection = self.ethdevices.get_selection() selection.set_mode(gtk.SELECTION_BROWSE) selection.select_iter(iter) diff --git a/iw/partition_dialog_gui.py b/iw/partition_dialog_gui.py index be5fef0b2..ac717db0b 100644 --- a/iw/partition_dialog_gui.py +++ b/iw/partition_dialog_gui.py @@ -157,7 +157,7 @@ class PartitionEditor: allowdrives = [] model = self.driveview.get_model() - iter = model.get_iter_root() + iter = model.get_iter_first() next = 1 while next: val = model.get_value(iter, 0) diff --git a/iw/partition_gui.py b/iw/partition_gui.py index 903f11986..d26ce1aed 100644 --- a/iw/partition_gui.py +++ b/iw/partition_gui.py @@ -367,7 +367,7 @@ class DiskTreeModel(gtk.TreeStore): def selectPartition(self, partition): pyobject = self.titleSlot['PyObject'] - iter = self.get_iter_root() + iter = self.get_iter_first() next = 1 parentstack = [] parent = None @@ -1060,7 +1060,7 @@ class AutoPartitionWindow(InstallWindow): allowdrives = [] model = self.drivelist.get_model() - iter = model.get_iter_root() + iter = model.get_iter_first() next = 1 while next: val = model.get_value(iter, 0) diff --git a/iw/raid_dialog_gui.py b/iw/raid_dialog_gui.py index d45e8a006..e0222def9 100644 --- a/iw/raid_dialog_gui.py +++ b/iw/raid_dialog_gui.py @@ -152,7 +152,7 @@ class RaidEditor: raidmembers = [] model = self.raidlist.get_model() - iter = model.get_iter_root() + iter = model.get_iter_first() next = 1 while next: val = model.get_value(iter, 0) diff --git a/iw/timezone_map_gui.py b/iw/timezone_map_gui.py index c15d4c314..db6f288a5 100644 --- a/iw/timezone_map_gui.py +++ b/iw/timezone_map_gui.py @@ -162,7 +162,7 @@ class TimezoneMap(gtk.VBox): if skipList: return - iter = self.listStore.get_iter_root() + iter = self.listStore.get_iter_first() next = 1 while next: if self.listStore.get_value(iter, self.columns.ENTRY) == self.currentEntry: diff --git a/iw/upgrade_swap_gui.py b/iw/upgrade_swap_gui.py index c34094b65..cdef00b36 100644 --- a/iw/upgrade_swap_gui.py +++ b/iw/upgrade_swap_gui.py @@ -159,7 +159,7 @@ class UpgradeSwapWindow (InstallWindow): a.add(sw) self.swapbox.pack_start(a, gtk.FALSE, gtk.TRUE, 10) - rootiter = self.store.get_iter_root() + rootiter = self.store.get_iter_first() sel = self.view.get_selection() sel.select_iter(rootiter) |