aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-20 16:06:28 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-20 16:06:28 +0000
commit4b562e19396677d8a277c6bdb9d0e8eaeb98b5df (patch)
tree14a888003eec27a1200c6deb700da7ecc6701318
parentmirrorselect_gui.py: fix treestore.append when creating the tree (diff)
downloadanaconda-4b562e19396677d8a277c6bdb9d0e8eaeb98b5df.tar.gz
anaconda-4b562e19396677d8a277c6bdb9d0e8eaeb98b5df.tar.bz2
anaconda-4b562e19396677d8a277c6bdb9d0e8eaeb98b5df.zip
mirrorselect_gui.py: tree build fix
-rw-r--r--iw/mirrorselect_gui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py
index 0de1d9d..fbacf2c 100644
--- a/iw/mirrorselect_gui.py
+++ b/iw/mirrorselect_gui.py
@@ -78,9 +78,9 @@ class MirrorselectWindow(InstallWindow):
(regions, countries, mirrors) = mirror_list
self.treestore = gtk.TreeStore(bool, str, str, str, str)
for region in regions:
- region_ts = self.treestore.append(None, [region, "", "", ""])
+ region_ts = self.treestore.append(None, [False, region, "", "", ""])
for country in countries[region]:
- country_ts = self.treestore.append(region_ts, [country, "", "", ""])
+ country_ts = self.treestore.append(region_ts, [False, country, "", "", ""])
for mirror in mirrors[country]:
self.addMirrorRow(self.treestore, country_ts, region, country, mirror, mirror_data[region][country][mirror])
treeview = gtk.TreeView(self.treestore)