summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-02-20 11:57:57 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-02-20 11:57:57 +0000
commitb3bcaf1ff8368837c40a213d4e6a5487aa727ce1 (patch)
tree2adc8c93191f7089bce6d4f0642b1f4e9fc1bc70 /perl-install
parenta9973385b0fc71d01d17cc602ef5a60804ba9c99 (diff)
downloaddrakx-b3bcaf1ff8368837c40a213d4e6a5487aa727ce1.tar
drakx-b3bcaf1ff8368837c40a213d4e6a5487aa727ce1.tar.gz
drakx-b3bcaf1ff8368837c40a213d4e6a5487aa727ce1.tar.bz2
drakx-b3bcaf1ff8368837c40a213d4e6a5487aa727ce1.tar.xz
drakx-b3bcaf1ff8368837c40a213d4e6a5487aa727ce1.zip
try to handle case with large fonts (CJK for example) -> branch on TextView
when the box will be quite large
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 702805d26..983e670bd 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -319,7 +319,7 @@ sub create_box_with_title {
return $box;
}
$o->{box_size} = n_line_size($nbline, 'text', $box);
- if (@_ <= 2 && $nbline > 4) {
+ if (@_ <= 2 && ($nbline > 4 || $o->{box_size} > 100)) {
$o->{icon} && !$::isWizard and
eval { gtkpack__($box, gtkset_border_width(gtkpack_(Gtk2::HBox->new(0,0), 1, gtkcreate_img($o->{icon})),5)) };
my $wanted = $o->{box_size};