aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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