back to total_wanted - micah catch

This commit is contained in:
Marcos Pinto 2007-07-15 22:27:26 +00:00
parent c1271ffbc1
commit 83bf3d76db
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ class DelugeGTK:
if page_num == 0: # Details if page_num == 0: # Details
state = self.manager.get_torrent_state(unique_id) state = self.manager.get_torrent_state(unique_id)
self.wtree.get_widget("summary_name").set_text(state['name']) self.wtree.get_widget("summary_name").set_text(state['name'])
self.text_summary_total_size.set_text(common.fsize(state["total_size"])) self.text_summary_total_size.set_text(common.fsize(state["total_wanted"]))
self.text_summary_pieces.set_text(str(state["num_pieces"])) self.text_summary_pieces.set_text(str(state["num_pieces"]))
self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"]) \ self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"]) \
+ " (" + common.fsize(state["total_download"]) + ")") + " (" + common.fsize(state["total_download"]) + ")")