From 4b562e19396677d8a277c6bdb9d0e8eaeb98b5df Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Sat, 20 Aug 2011 16:06:28 +0000 Subject: mirrorselect_gui.py: tree build fix --- iw/mirrorselect_gui.py | 4 ++-- 1 file 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) -- cgit v1.2.3-65-gdbad