From 6b1c5a5939c39e6eae08ab9256bb24f40947b692 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 27 Aug 2001 19:00:21 +0000 Subject: nicer help display --- perl-install/install_steps_gtk.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps_gtk.pm') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index 182bbd20e..6f97a2ba8 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -639,7 +639,10 @@ _("There was an error installing packages:"), $1, _("Go on anyway?") ], 1) and r sub set_help { my ($o, @l) = @_; - $o->{current_help} = formatAlaTeX(join "\n", map { _(deref($help::steps{$_})) } @l); + my @l2 = map { + join("\n\n", map { s/\n/ /mg; $_ } split("\n\n", translate($help::steps{$_}))) + } @l; + $o->{current_help} = join("\n\n\n", @l2); gtktext_insert($o->{help_window_text}, $o->{current_help}); 1; } -- cgit v1.2.1