From f299346e160de0736b7dea66c6d755117f2a5341 Mon Sep 17 00:00:00 2001 From: koraynilay Date: Fri, 5 Feb 2021 01:15:57 +0100 Subject: [PATCH] added stuff to TODO --- legendary/downloader/log_dlm.py | 1 + legendary/gui/gui.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/legendary/downloader/log_dlm.py b/legendary/downloader/log_dlm.py index 701c73f..e8b5564 100644 --- a/legendary/downloader/log_dlm.py +++ b/legendary/downloader/log_dlm.py @@ -59,6 +59,7 @@ class log_dlm: def update_gui(self_log_dlm, self, perc, processed_chunks, num_chunk_tasks, rt_hours, rt_minutes, rt_seconds, hours, minutes, seconds, total_dl, total_write, total_used, dl_speed, dl_unc_speed, w_speed, r_speed, bar): bar.set_fraction(perc) bar.set_text(f"{dl_speed / 1024 / 1024:.02f} MiB/s - {(perc*100):.02f}% - ETA: {hours:02d}:{minutes:02d}:{seconds:02d}") + bar.set_tooltip_text("") # show all infos that are also in update_cli() print(bar.get_text()) def update_cli(self_log_dlm, self, perc, processed_chunks, num_chunk_tasks, rt_hours, rt_minutes, rt_seconds, hours, minutes, seconds, total_dl, total_write, total_used, dl_speed, dl_unc_speed, w_speed, r_speed): diff --git a/legendary/gui/gui.py b/legendary/gui/gui.py index b69f1b9..1f4a09b 100755 --- a/legendary/gui/gui.py +++ b/legendary/gui/gui.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# TODO: fix progress bar +# TODO: fix progress bar, games' contextual menu, tooltip show all info progress bar import sys # insert at 1, 0 is the script path (or '' in REPL)