aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
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 /Rpmdrake/pkg.pm
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
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
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