diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-03-21 07:28:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-03-21 07:28:02 +0000 |
commit | dd8c8fbbd492fc4ee53cb3128a270fbc38c04973 (patch) | |
tree | 9a78bc6b2cd7669f7395db75e8a09d29f138b7c9 /Rpmdrake | |
parent | b9b8fa11803fe203bec381ff97eecd505b980bd0 (diff) | |
download | rpmdrake-dd8c8fbbd492fc4ee53cb3128a270fbc38c04973.tar rpmdrake-dd8c8fbbd492fc4ee53cb3128a270fbc38c04973.tar.gz rpmdrake-dd8c8fbbd492fc4ee53cb3128a270fbc38c04973.tar.bz2 rpmdrake-dd8c8fbbd492fc4ee53cb3128a270fbc38c04973.tar.xz rpmdrake-dd8c8fbbd492fc4ee53cb3128a270fbc38c04973.zip |
fix download progress with global progress bar (mga#9469)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 960ef841..00039f7b 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -213,9 +213,9 @@ sub download_callback { ) =~ /^\s*(.*)/ ), ); - $gurpm->progress($percent/100); + $gurpm->set_progressbar($percent/100); } elsif ($mode eq 'end') { - $gurpm->progress(1); + $gurpm->set_progressbar(1); $gurpm->invalidate_cancel; } !$canceled; |