summaryrefslogtreecommitdiffstats
path: root/iw/examine_gui.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-08-25 17:54:58 +0000
committerJeremy Katz <katzj@redhat.com>2004-08-25 17:54:58 +0000
commitce63cb0c39e0f09069980d136f67d1545ce8bdca (patch)
tree4e43e5249e15a8f0095f7ec49337ce78025217ff /iw/examine_gui.py
parent3d9c3c81ce4ded8abcb30113e22dde91165addef (diff)
downloadanaconda-ce63cb0c39e0f09069980d136f67d1545ce8bdca.tar.gz
anaconda-ce63cb0c39e0f09069980d136f67d1545ce8bdca.tar.xz
anaconda-ce63cb0c39e0f09069980d136f67d1545ce8bdca.zip
use a list store properly (#130903)
Diffstat (limited to 'iw/examine_gui.py')
-rw-r--r--iw/examine_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/examine_gui.py b/iw/examine_gui.py
index 29296cf1d..fc77dde7f 100644
--- a/iw/examine_gui.py
+++ b/iw/examine_gui.py
@@ -137,7 +137,7 @@ class UpgradeExamineWindow (InstallWindow):
self.upgradecombo.pack_start(cell, True)
self.upgradecombo.set_attributes(cell, markup=0)
- iter = None
+ iter = model.append()
for (part, filesystem, desc) in self.parts:
if (desc is None) or len(desc) < 1:
desc = _("Unknown Linux system")
@@ -145,8 +145,8 @@ class UpgradeExamineWindow (InstallWindow):
devname = "/dev/" + part
else:
devname = part
- iter = model.append (iter)
model[iter][0] = "<small>%s (%s)</small>" %(desc, devname)
+ iter = model.append ()
upboxtmp.pack_start(self.uplabel)