Showing pending downloads in the torrent list

This commit is contained in:
Artem Glebov 2013-03-09 09:49:09 +03:00
parent 50e9e2f286
commit 5794465454
2 changed files with 2 additions and 1 deletions

View file

@ -84,7 +84,8 @@ class TransmissionGUI(xbmcgui.WindowXMLDialog):
self.torrents = torrents self.torrents = torrents
statusicons = {'stopped': 'pause.png', statusicons = {'stopped': 'pause.png',
'seeding': 'ok.png', 'seeding': 'ok.png',
'downloading': 'down.png'} 'downloading': 'down.png',
'download pending': 'pending.png'}
l.setLabel(torrent.name) l.setLabel(torrent.name)
l.setLabel2(statusline) l.setLabel2(statusline)
l.setProperty('TorrentStatusIcon', statusicons[torrent.status]) l.setProperty('TorrentStatusIcon', statusicons[torrent.status])

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB