diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-12-08 20:57:27 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-12-09 01:28:10 +0100 |
commit | 11e09a23beb89c3b7bf06209a317a4b6ac75ee38 (patch) | |
tree | c16001423a9610168ea155245b3686527ab6f3bf /lib/libalpm | |
parent | a4240a55e448ffba15a5edbad1a31cb76f821231 (diff) | |
download | pacman-11e09a23beb89c3b7bf06209a317a4b6ac75ee38.tar.gz pacman-11e09a23beb89c3b7bf06209a317a4b6ac75ee38.tar.xz |
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/libalpm')
-rw-r--r-- | lib/libalpm/sync.c | 5 |
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; } |