summaryrefslogtreecommitdiffstats
path: root/iw/account_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-06-17 20:55:10 +0000
committerJeremy Katz <katzj@redhat.com>2002-06-17 20:55:10 +0000
commit8b19c5c74a277a692a271895144925d855c2499b (patch)
tree3d67bd9f4a76967e5325a29d14bc8ec9a1e85b59 /iw/account_gui.py
parentcd6c235fd0291888df9d2d8bfd378c1459b5387a (diff)
downloadanaconda-8b19c5c74a277a692a271895144925d855c2499b.tar.gz
anaconda-8b19c5c74a277a692a271895144925d855c2499b.tar.xz
anaconda-8b19c5c74a277a692a271895144925d855c2499b.zip
make things work with new pygtk2
Diffstat (limited to 'iw/account_gui.py')
-rw-r--r--iw/account_gui.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/iw/account_gui.py b/iw/account_gui.py
index 6800303d5..7fa05f38c 100644
--- a/iw/account_gui.py
+++ b/iw/account_gui.py
@@ -102,11 +102,10 @@ class AccountWindow (InstallWindow):
def getSelectedIter(self):
selection = self.userlist.get_selection()
- rc = selection.get_selected()
- if rc is None:
+ (model, iter) = selection.get_selected()
+ if iter is None:
return None
- model, iter = rc
return iter
def getSelectedData(self):
@@ -279,12 +278,10 @@ class AccountWindow (InstallWindow):
def deleteUser(self, *args):
selection = self.userlist.get_selection()
- rc = selection.get_selected()
- if rc is None:
+ (model, iter) = selection.get_selected()
+ if iter is None:
return
- model, iter = rc
-
accountName = self.userstore.get_value(iter, 0)
del self.passwords[accountName]