From 52a5d62de27e24041941e4f635c5c1f5afb0e786 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 8 Jun 2007 15:46:51 +0000 Subject: [PATCH] update total upload and total download with previous totals + current session --- src/interface.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interface.py b/src/interface.py index 585bbe5f4..383620f44 100644 --- a/src/interface.py +++ b/src/interface.py @@ -705,8 +705,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)) + self.text_summary_total_downloaded.set_text(common.fsize(state["total_done"] + state["total_payload_download"])) + 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_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))