Tweak EditTrackersDialog async call.

This commit is contained in:
Andrew Resch 2008-01-22 01:26:31 +00:00
parent 6438cb0121
commit 7ed0821143

View File

@ -87,8 +87,9 @@ class EditTrackersDialog:
# Get the trackers for this torrent
client.get_torrent_status(self._on_get_torrent_status, self.torrent_id,\
["trackers"])
client.get_torrent_status(
self._on_get_torrent_status, self.torrent_id, ["trackers"])
client.force_call()
def _on_get_torrent_status(self, status):
"""Display trackers dialog"""
@ -97,8 +98,6 @@ class EditTrackersDialog:
self.dialog.show()
def add_tracker(self, tier, url):
"""Adds a tracker to the list"""
self.liststore.append([tier, url])