diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-03-26 19:37:22 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-03-26 19:37:22 +0000 |
commit | a1c10565176b4dc4d1a4c5ab2897046a6323e90d (patch) | |
tree | 621112786acf44644c85235a2249c3d3dde43423 | |
parent | 4cdceb0a2ddcea11473ba3df85f0b8dd096edddc (diff) | |
download | rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar.gz rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar.bz2 rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.tar.xz rpmdrake-a1c10565176b4dc4d1a4c5ab2897046a6323e90d.zip |
fix retrieving XML information (mga#9529)
commit r7594 fixed download callback for global progress bar but it
broke downloading XML metadata.
However, we ended in using new gurpm callback in commit r7598
so we can just revert that change
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix retrieving XML information (mga#9529) + Version 5.45 - 24 Mar 2013, Thierry Vignaud - merge patch for mga#4918 diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index b038cc90..75078250 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -213,7 +213,7 @@ sub download_callback { ) =~ /^\s*(.*)/ ), ); - $gurpm->set_progressbar($percent/100); + $gurpm->progress($percent/100); } elsif ($mode eq 'end') { $gurpm->set_progressbar(1); $gurpm->invalidate_cancel; |