aboutsummaryrefslogtreecommitdiff
path: root/iw
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-20 16:46:46 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-20 16:46:46 +0000
commit2818941482e0c5e6cc98028053ee92db48e40981 (patch)
tree05240d5ef949d159fd593bd5a332ecfaa9c7bb1a /iw
parentmirrorselect_gui.py: added mirror name to tree (diff)
downloadanaconda-2818941482e0c5e6cc98028053ee92db48e40981.tar.gz
anaconda-2818941482e0c5e6cc98028053ee92db48e40981.tar.bz2
anaconda-2818941482e0c5e6cc98028053ee92db48e40981.zip
mirrorselect_gui.py: the tree is nice now
Diffstat (limited to 'iw')
-rw-r--r--iw/mirrorselect_gui.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py
index ad84dd8..ec8c981 100644
--- a/iw/mirrorselect_gui.py
+++ b/iw/mirrorselect_gui.py
@@ -76,15 +76,15 @@ class MirrorselectWindow(InstallWindow):
def addMirrors(self, mirror_list, mirror_data, xml):
(regions, countries, mirrors) = mirror_list
- self.treestore = gtk.TreeStore(bool, str, str, str, str)
+ self.treestore = gtk.TreeStore(bool, str, str, str)
for region in regions:
- region_ts = self.treestore.append(None, [False, region, "", "", ""])
+ region_ts = self.treestore.append(None, [False, region, "", ""])
for country in countries[region]:
- country_ts = self.treestore.append(region_ts, [False, 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)
- url_column = gtk.TreeViewColumn(_("Mirror URL"))
+ url_column = gtk.TreeViewColumn(_(""))
treeview.append_column(url_column)
name_column = gtk.TreeViewColumn(_("Mirror Name"))
treeview.append_column(name_column)
@@ -118,7 +118,7 @@ class MirrorselectWindow(InstallWindow):
if data["ipv6"] == "y":
ipv6 = " ipv6"
- ts.append(country_ts, [False, mirror, data["name"], ipv4, ipv6])
+ ts.append(country_ts, [False, mirror, ipv4, ipv6])
def downloadMirrorlist(self):
try: