diff --git a/src/interface.py b/src/interface.py index 4d1108484..1583e037b 100644 --- a/src/interface.py +++ b/src/interface.py @@ -717,8 +717,8 @@ class DelugeGTK: 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_pieces.set_text(str(state["num_pieces"])) - self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"])) - self.text_summary_total_uploaded.set_text(common.fsize(self.manager.unique_IDs[self.get_selected_torrent()].uploaded_memory + state["total_payload_upload"])) + self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"]) + " (" + common.fsize(state["total_download"]) + ")") + self.text_summary_total_uploaded.set_text(common.fsize(self.manager.unique_IDs[self.get_selected_torrent()].uploaded_memory + state["total_payload_upload"]) + " (" + common.fsize(state["total_upload"]) + ")") self.text_summary_download_rate.set_text(common.frate(state["download_rate"])) self.text_summary_upload_rate.set_text(common.frate(state["upload_rate"])) self.text_summary_seeders.set_text(common.fseed(state)) @@ -726,8 +726,6 @@ class DelugeGTK: self.wtree.get_widget("progressbar").set_fraction(float(state['progress'])) self.wtree.get_widget("progressbar").set_text(common.fpcnt(state["progress"])) self.text_summary_share_ratio.set_text('%.3f'%(self.calc_share_ratio(self.get_selected_torrent(), state))) - self.text_summary_downloaded_this_session.set_text(common.fsize(state["total_download"])) - self.text_summary_uploaded_this_session.set_text(common.fsize(state["total_upload"])) self.text_summary_tracker.set_text(str(state["tracker"])) self.text_summary_tracker_status.set_text(str(state["tracker_ok"])) self.text_summary_next_announce.set_text(str(state["next_announce"]))