From ce05dcd4efb6a34f108bc40d7005e53869521af7 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 25 Jul 2005 07:21:56 +0000 Subject: More scrollable error windows --- rpmdrake.pm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index 485e016a..0e5b5121 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -663,7 +663,7 @@ sub update_sources_check { update_sources($urpm, %$options, noclean => 1, medialist => \@media); fatal_error: if (@error_msgs) { - interactive_msg('rpmdrake', sprintf(translate($error_msg), join("\n", @error_msgs))); + interactive_msg('rpmdrake', sprintf(translate($error_msg), join("\n", @error_msgs)), scroll => 1); return 0; } return 1; @@ -742,9 +742,12 @@ sub add_medium_and_check { $urpm->add_medium(@_); } if (@error_msgs) { - interactive_msg('rpmdrake', - N("Unable to add medium, errors reported:\n\n%s", - join("\n", @error_msgs))); + interactive_msg( + 'rpmdrake', + N("Unable to add medium, errors reported:\n\n%s", + join("\n", @error_msgs)), + scroll => 1, + ); return 0; } -- cgit v1.2.1