summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-07-28 13:27:01 +0000
committerFrancois Pons <fpons@mandriva.com>2003-07-28 13:27:01 +0000
commit903e7ca8554de9813ad22f8d6c22bf5407fbc4f1 (patch)
tree7fcc86be6a58c8f690f19cd9efb4510b791d1e06 /perl-install
parent649857bae52e4aa7b614519fb93787138a6221a9 (diff)
downloaddrakx-903e7ca8554de9813ad22f8d6c22bf5407fbc4f1.tar
drakx-903e7ca8554de9813ad22f8d6c22bf5407fbc4f1.tar.gz
drakx-903e7ca8554de9813ad22f8d6c22bf5407fbc4f1.tar.bz2
drakx-903e7ca8554de9813ad22f8d6c22bf5407fbc4f1.tar.xz
drakx-903e7ca8554de9813ad22f8d6c22bf5407fbc4f1.zip
make sure the split of message is done only in install mode, as standalone has
no problem.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
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});