aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-25 12:22:34 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-25 12:22:34 +0000
commit88426f04a42ae70bd2e2f3c392f0440dcb6f584a (patch)
treec5e9f7caee112f6b3237f297de3f701ae5af3158 /Rpmdrake/pkg.pm
parent3ee87ca43acccabf7f8a5a84394d47476eb61b5d (diff)
downloadrpmdrake-88426f04a42ae70bd2e2f3c392f0440dcb6f584a.tar
rpmdrake-88426f04a42ae70bd2e2f3c392f0440dcb6f584a.tar.gz
rpmdrake-88426f04a42ae70bd2e2f3c392f0440dcb6f584a.tar.bz2
rpmdrake-88426f04a42ae70bd2e2f3c392f0440dcb6f584a.tar.xz
rpmdrake-88426f04a42ae70bd2e2f3c392f0440dcb6f584a.zip
(message) adapt this callback to urpmi-5.6 API (add a title, not a
yes/no dialog)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index bee3f676..54da3dc6 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -665,8 +665,8 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
) or goto return_with_exit_code;
},
message => sub {
- my ($message) = @_;
- interactive_msg(N("Error"), $message, yesno => 1);
+ my ($title, $message) = @_;
+ interactive_msg($title, $message, scroll => 1);
},
trans_log => sub { download_callback($gurpm, @_) or goto return_with_exit_code },
post_extract => sub {