From b6e03c1a24a0e716455889090187abc03b46acaf Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 29 Aug 2007 10:16:11 +0000 Subject: (get_pkgs) (ask_yes_or_no callback) always enable scrolling when asking question in order to be able to copy/paste error messages --- Rpmdrake/pkg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 1f27c86f..b750fffa 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -613,7 +613,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( # handle 'allow-force' and 'allow-nodeps' options: my ($title, $msg) = @_; local $::main_window = $Rpmdrake::gurpm::mainw->{real_window}; - interactive_msg($title, $msg, yesno => 1, if_(10 < $msg =~ tr/\n/\n/, scroll => 1), + interactive_msg($title, $msg, yesno => 1, scroll => 1, ) or goto return_with_exit_code; }, message => sub { -- cgit v1.2.1