Gentoo Archives: gentoo-commits

From: Wiktor W Brodlo <wiktor@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/anaconda:master commit in: iw/
Date: Mon, 01 Aug 2011 00:17:33
Message-Id: 0cc03a10352849a343f4c4dbfd937c6d77860562.wiktor@gentoo
1 commit: 0cc03a10352849a343f4c4dbfd937c6d77860562
2 Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
3 AuthorDate: Mon Aug 1 00:17:09 2011 +0000
4 Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
5 CommitDate: Mon Aug 1 00:17:09 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=0cc03a10
7
8 iw/mirrorselect_gui.py: fix adding to tree
9
10 ---
11 iw/mirrorselect_gui.py | 6 +++---
12 1 files changed, 3 insertions(+), 3 deletions(-)
13
14 diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py
15 index a41af24..b9560d4 100644
16 --- a/iw/mirrorselect_gui.py
17 +++ b/iw/mirrorselect_gui.py
18 @@ -74,11 +74,11 @@ class MirrorselectWindow(InstallWindow):
19
20 def addMirrors(self, mirror_list, mirror_data):
21 (regions, countries, mirrors) = mirror_list
22 - self.treestore = gtk.TreeStore(gtk.CheckButton, str, str, str)
23 + self.treestore = gtk.TreeStore(gtk.Widget, str, str, str)
24 for region in regions:
25 - region_ts = self.treestore.append(None, [region])
26 + region_ts = self.treestore.append(None, [gtk.Label(region), "", "", ""])
27 for country in countries[region]:
28 - country_ts = self.treestore.append(region_ts, [country])
29 + country_ts = self.treestore.append(region_ts, [gtk.Label(country), "", "", ""])
30 for mirror in mirrors[country]:
31 self.addMirrorRow(self.treestore, country_ts, region, country, mirror, mirror_data[region][country][mirror], )
32 treeview = gtk.TreeView(self.treestore)