From 2140294fb618d796f835cf4b4df6773980882800 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 21 Mar 2013 07:28:08 +0000 Subject: use global progress bar for download too --- NEWS | 1 + Rpmdrake/pkg.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1