aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-26 19:37:22 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-26 19:37:22 +0000
commita1c10565176b4dc4d1a4c5ab2897046a6323e90d (patch)
tree621112786acf44644c85235a2249c3d3dde43423
parent4cdceb0a2ddcea11473ba3df85f0b8dd096edddc (diff)
downloadrpmdrake-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--NEWS2
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index e98fe463..ba3baf95 100644
--- a/NEWS
+++ b/NEWS
@@ -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;