From 903e7ca8554de9813ad22f8d6c22bf5407fbc4f1 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 28 Jul 2003 13:27:01 +0000 Subject: make sure the split of message is done only in install mode, as standalone has no problem. --- perl-install/interactive/gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/interactive/gtk.pm') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index b16edc639..178b99bf4 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -582,7 +582,7 @@ sub ask_fromW { #my $pack = create_box_with_title($mainw, @{$common->{messages}}); #- FIXME need to fix the above line as no scroll bars are done, my ($messages_title) = @{$common->{messages}}; - my $pack = create_box_with_title($mainw, length($messages_title) > 300 ? substr($messages_title, 0, 300)."\n... need scrollbar fixes here" : $messages_title); + my $pack = create_box_with_title($mainw, $::isInstall && length($messages_title) > 300 ? substr($messages_title, 0, 300)."\n... need scrollbar fixes here" : $messages_title); my ($totalwidth, $totalheight) = (0, $mainw->{box_size}); -- cgit v1.2.1