Properly show the 'Checking Resume Data' state instead of just 7

Show the checking icon for torrents in the 'Checking Resume Data' state
This commit is contained in:
Andrew Resch 2011-05-25 13:27:16 -07:00
parent f330469bc9
commit 14c3655ba1
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
=== Deluge 1.3.3 (In Development) ===
==== Core ====
* Properly show the 'Checking Resume Data' state instead of just 7
==== GtkUI ===
* Show the checking icon for torrents in the 'Checking Resume Data' state
=== Deluge 1.3.2 (24 May 2011) ===
==== Core ====
* #1527: Fix Converting unicode to unicode error in move_storage

View File

@ -346,6 +346,9 @@ class Torrent(object):
# Set self.state to the ltstate right away just incase we don't hit some
# of the logic below
if ltstate in LTSTATE:
self.state = LTSTATE[ltstate]
else:
self.state = str(ltstate)
log.debug("set_state_based_on_ltstate: %s", deluge.common.LT_TORRENT_STATE[ltstate])

View File

@ -75,7 +75,8 @@ ICON_STATE = {
"Seeding": icon_seeding,
"Paused": icon_inactive,
"Error": icon_alert,
"Queued": icon_queued
"Queued": icon_queued,
"Checking Resume Data": icon_checking
}
def cell_data_statusicon(column, cell, model, row, data):