This commit is contained in:
Zach Tibbitts 2007-03-23 00:27:21 +00:00
parent 8462a4439d
commit 085092fcf9
1 changed files with 2 additions and 1 deletions

View File

@ -751,7 +751,7 @@ class DelugeGTK:
if tab == 0: #Details Pane
self.wtree.get_widget("progressbar").set_text('%s %s'%(str(state["name"]), dcommon.fpcnt(state["progress"])))
self.wtree.get_widget("summary_name").set_text(state['name'])
self.text_summary_total_size.set_text(dcommon.fsize(state["total_size"]))
self.text_summary_pieces.set_text(str(state["pieces"]))
self.text_summary_total_downloaded.set_text(dcommon.fsize(state["total_done"]))
@ -761,6 +761,7 @@ class DelugeGTK:
self.text_summary_seeders.set_text(dcommon.fseed(state))
self.text_summary_peers.set_text(dcommon.fpeer(state))
self.wtree.get_widget("progressbar").set_fraction(float(state['progress']))
self.wtree.get_widget("progressbar").set_text(dcommon.fpcnt(state["progress"]))
self.text_summary_share_ratio.set_text(str(self.calc_share_ratio(self.get_selected_torrent(), state)))
self.text_summary_downloaded_this_session.set_text(dcommon.fsize(state["total_download"]))
self.text_summary_uploaded_this_session.set_text(dcommon.fsize(state["total_upload"]))