Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2020-12-08 11:57:27 -0800
committerAllan McRae <allan@archlinux.org>2020-12-09 10:28:10 +1000
commit11e09a23beb89c3b7bf06209a317a4b6ac75ee38 (patch)
treec16001423a9610168ea155245b3686527ab6f3bf /lib
parenta4240a55e448ffba15a5edbad1a31cb76f821231 (diff)
Implement TotalDownload functionality
With the recent 'multibar' interface changes TotalDownload has been disabled. Now we have a new UI and we need to find another way to display this information. When 'TotalDownload' config option is enabled we are going to have an extra progress bar at the bottom of the screen that shows how much of the entire download has been completed. Closes FS#68202 Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/sync.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 5d8652a5..e25e56d4 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -846,11 +846,6 @@ finish:
pkg->download_size = 0;
}
- /* clear out value to let callback know we are done */
- if(handle->totaldlcb) {
- handle->totaldlcb(0);
- }
-
return ret;
}