From 881da401e1731fa1edaac75a9cc2b975fed21660 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 20 Feb 2014 19:16:12 +0000 Subject: [PATCH] [GTKUI] Fix column added after restore order func --- deluge/ui/gtkui/torrentview.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index 4f38ae50b..c50c328dc 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -303,10 +303,9 @@ class TorrentView(listview.ListView, component.Component): status_field=["tracker_host", "tracker_host"], default=False) self.add_text_column(_("Save Path"), status_field=["save_path"], default=False) self.add_text_column(_("Owner"), status_field=["owner"], default=False) + self.add_bool_column(_("Shared"), status_field=["shared"], default=False, + tooltip=_("Torrent is shared between other Deluge users or not.")) self.restore_columns_order_from_state() - self.add_bool_column(_("Shared"), status_field=["shared"], - tooltip=_("Torrent is shared between other Deluge " - "users or not."), default=False) # Set filter to None for now self.filter = None