From 966de0bda32b8e2638c7721fda8228be5fdb3d6b Mon Sep 17 00:00:00 2001 From: wiktor w brodlo Date: Mon, 1 Aug 2011 01:01:36 +0000 Subject: iw/mirrorselect_gui.py: add the columns properly --- iw/mirrorselect_gui.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iw/mirrorselect_gui.py b/iw/mirrorselect_gui.py index 0bdde57..57ebf1b 100644 --- a/iw/mirrorselect_gui.py +++ b/iw/mirrorselect_gui.py @@ -82,10 +82,10 @@ class MirrorselectWindow(InstallWindow): for mirror in mirrors[country]: self.addMirrorRow(self.treestore, country_ts, region, country, mirror, mirror_data[region][country][mirror], ) treeview = gtk.TreeView(self.treestore) - treeview.append_column(_("Mirror URL")) - treeview.append_column(_("Mirror Name")) - treeview.append_column("IPv4?") - treeview.append_column("IPv6?") + treeview.append_column(gtk.TreeViewColumn(_("Mirror URL"))) + treeview.append_column(gtk.TreeViewColumn(_("Mirror Name"))) + treeview.append_column(gtk.TreeViewColumn("IPv4?")) + treeview.append_column(gtk.TreeViewColumn("IPv6?")) self.xml.get_widget("mirrors_viewport").add(treeview) -- cgit v1.2.3-65-gdbad