aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-25 07:21:56 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-25 07:21:56 +0000
commitce05dcd4efb6a34f108bc40d7005e53869521af7 (patch)
treebbe6006a004a85b4d1097f3779f137062359d94c
parent2af8434af3ab1e320eae68c6e8041b26b870e873 (diff)
downloadrpmdrake-ce05dcd4efb6a34f108bc40d7005e53869521af7.tar
rpmdrake-ce05dcd4efb6a34f108bc40d7005e53869521af7.tar.gz
rpmdrake-ce05dcd4efb6a34f108bc40d7005e53869521af7.tar.bz2
rpmdrake-ce05dcd4efb6a34f108bc40d7005e53869521af7.tar.xz
rpmdrake-ce05dcd4efb6a34f108bc40d7005e53869521af7.zip
More scrollable error windows
-rw-r--r--rpmdrake.pm11
1 files 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;
}