diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index f546963cd..d16b7f2d4 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -411,6 +411,7 @@ class TorrentView(listview.ListView, component.Component): client.register_event_handler("TorrentQueueChangedEvent", self.on_torrentqueuechanged_event) self.search_box = SearchBox(self) + self.permanent_status_keys = ["owner"] def start(self): """Start the torrentview""" @@ -497,8 +498,9 @@ class TorrentView(listview.ListView, component.Component): status_keys.append(field) self.columns_to_update.append(column) - # Remove duplicate keys + # Remove duplicates self.columns_to_update = list(set(self.columns_to_update)) + status_keys = list(set(status_keys + self.permanent_status_keys)) return status_keys def send_status_request(self, columns=None): diff --git a/deluge/ui/sessionproxy.py b/deluge/ui/sessionproxy.py index c6132f543..8840cccce 100644 --- a/deluge/ui/sessionproxy.py +++ b/deluge/ui/sessionproxy.py @@ -87,7 +87,7 @@ class SessionProxy(component.Component): # of a torrent. inital_keys = [ 'queue', 'state', 'name', 'total_wanted', 'progress', 'state', - 'download_payload_rate', 'upload_payload_rate', 'eta' + 'download_payload_rate', 'upload_payload_rate', 'eta', 'owner' ] self.get_torrents_status({'id': torrent_ids}, inital_keys) return client.core.get_session_state().addCallback(on_get_session_state)