From 88426f04a42ae70bd2e2f3c392f0440dcb6f584a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 25 Feb 2008 12:22:34 +0000 Subject: (message) adapt this callback to urpmi-5.6 API (add a title, not a yes/no dialog) --- Rpmdrake/pkg.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake/pkg.pm') 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 { -- cgit v1.2.1