Update toolbar buttons on torrentview update

This commit is contained in:
Andrew Resch 2008-06-19 21:55:00 +00:00
parent 8f4a96c8e7
commit 8ca5682449

View File

@ -328,6 +328,9 @@ class TorrentView(listview.ListView, component.Component):
except:
pass
# Update the toolbar buttons just in case some state has changed
component.get("ToolBar").update_buttons()
def _on_get_torrents_status(self, status):
"""Callback function for get_torrents_status(). 'status' should be a
dictionary of {torrent_id: {key, value}}."""