aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-21 07:28:08 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-21 07:28:08 +0000
commit2140294fb618d796f835cf4b4df6773980882800 (patch)
treeac90b700d363114370a99c256b04eb795fd6cfe6
parent7718d42823b9b1bb6b5aaa2b7d5358d677fa9a4f (diff)
downloadrpmdrake-2140294fb618d796f835cf4b4df6773980882800.tar
rpmdrake-2140294fb618d796f835cf4b4df6773980882800.tar.gz
rpmdrake-2140294fb618d796f835cf4b4df6773980882800.tar.bz2
rpmdrake-2140294fb618d796f835cf4b4df6773980882800.tar.xz
rpmdrake-2140294fb618d796f835cf4b4df6773980882800.zip
use global progress bar for download too
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 14c2d17d..ed2c1099 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- fix download progress with global progress bar (mga#9469)
+- use global progress bar for download too
Version 5.42 - 19 Mar 2013, Thierry Vignaud
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 12d20232..472e55c7 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -787,7 +787,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
interactive_msg($title, $message, scroll => 1);
},
# cancel installation when 'cancel' button is pressed:
- trans_log => sub { download_callback($gurpm, @_) or goto return_with_exit_code },
+ trans_log => sub { gurpm::RPMProgressDialog::callback_download(@_) }, # or goto return_with_exit_code },
post_extract => sub {
my ($_set, $transaction_sources, $transaction_sources_install) = @_;
$done += grep { !/\.src\.rpm$/ } values %$transaction_sources; #updates