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/xconfig_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/xconfig_gui.py')
-rw-r--r-- | iw/xconfig_gui.py | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/iw/xconfig_gui.py b/iw/xconfig_gui.py index 303d32c73..a6a7a68aa 100644 --- a/iw/xconfig_gui.py +++ b/iw/xconfig_gui.py @@ -511,9 +511,8 @@ class MonitorWindow (InstallWindow): if self.ignoreEvents: return - rc = selection.get_selected() - if rc: - monxxx, iter = rc + (monxxx, iter) = selection.get_selected() + if iter: monid = monxxx.get_value(iter, 0) self.setCurrent(monid, recenter=0) @@ -803,9 +802,8 @@ class XConfigWindow (InstallWindow): if self.ignoreEvents: return - rc = selection.get_selected() - if rc: - model, iter = rc + (model, iter) = selection.get_selected() + if iter: self.currentCard = model.get_value(iter, 0) else: print "unknown error in selectCardType!" |