summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-21 14:49:57 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-21 14:49:57 +0000
commit8737748ec3d8afaca20867c4a3bd0351f56fc3f6 (patch)
treeab7087fe59d2ce4b143c4560da823ad4b7b2af8f /perl-install
parentcc65d4fcf68872955e83b7b4156c1e9fd608e5a3 (diff)
downloaddrakx-backup-do-not-use-8737748ec3d8afaca20867c4a3bd0351f56fc3f6.tar
drakx-backup-do-not-use-8737748ec3d8afaca20867c4a3bd0351f56fc3f6.tar.gz
drakx-backup-do-not-use-8737748ec3d8afaca20867c4a3bd0351f56fc3f6.tar.bz2
drakx-backup-do-not-use-8737748ec3d8afaca20867c4a3bd0351f56fc3f6.tar.xz
drakx-backup-do-not-use-8737748ec3d8afaca20867c4a3bd0351f56fc3f6.zip
chinese badly wrap with labels too
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 59465782b..c20888cdb 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -299,7 +299,7 @@ sub create_box_with_title {
return $box;
}
$o->{box_size} = n_line_size($nbline, 'text', $box);
- if (@_ <= 2 && ($nbline > 4 || ($nbline > 1 && ref($::o) && member($::o->{locale}{lang}, qw(ja))))) {
+ if (@_ <= 2 && ($nbline > 4 || ($nbline > 1 && ref($::o) && $::o->{locale}{lang} =~ /^ja|^zh/))) {
$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};