diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-06-17 20:55:10 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-06-17 20:55:10 +0000 |
commit | 8b19c5c74a277a692a271895144925d855c2499b (patch) | |
tree | 3d67bd9f4a76967e5325a29d14bc8ec9a1e85b59 /iw/package_gui.py | |
parent | cd6c235fd0291888df9d2d8bfd378c1459b5387a (diff) | |
download | anaconda-8b19c5c74a277a692a271895144925d855c2499b.tar.gz anaconda-8b19c5c74a277a692a271895144925d855c2499b.tar.xz anaconda-8b19c5c74a277a692a271895144925d855c2499b.zip |
make things work with new pygtk2
Diffstat (limited to 'iw/package_gui.py')
-rw-r--r-- | iw/package_gui.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/iw/package_gui.py b/iw/package_gui.py index 7e4b5fca5..1f0548381 100644 --- a/iw/package_gui.py +++ b/iw/package_gui.py @@ -125,9 +125,8 @@ class IndividualPackageSelectionWindow (InstallWindow): def select_group(self, selection): - rc = selection.get_selected() - if rc: - model, iter = rc + (model, iter) = selection.get_selected() + if iter: currentGroup = model.get_value(iter, 1) self.packageList.clear() @@ -160,9 +159,8 @@ class IndividualPackageSelectionWindow (InstallWindow): self.updateSize() def select_package(self, selection): - rc = selection.get_selected() - if rc: - model, iter = rc + (model, iter) = selection.get_selected() + if iter: package = model.get_value(iter, 1) if not self.pkgs.has_key(package): |