diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-06-18 12:00:37 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-06-18 12:00:37 +0000 |
commit | bf59e9a9671982a00d1536eb15bf6ee0f559a341 (patch) | |
tree | cd7bc30c17a3e06673cf2dd6545761cc0cfb9c42 /perl-install/ugtk2.pm | |
parent | 04343ff4d430b0af1a73f24ddda0c6b5fefd97fd (diff) | |
download | drakx-backup-do-not-use-bf59e9a9671982a00d1536eb15bf6ee0f559a341.tar drakx-backup-do-not-use-bf59e9a9671982a00d1536eb15bf6ee0f559a341.tar.gz drakx-backup-do-not-use-bf59e9a9671982a00d1536eb15bf6ee0f559a341.tar.bz2 drakx-backup-do-not-use-bf59e9a9671982a00d1536eb15bf6ee0f559a341.tar.xz drakx-backup-do-not-use-bf59e9a9671982a00d1536eb15bf6ee0f559a341.zip |
create_box_with_title: chinese langs also need to always use
GtkTextView because GtkLabel won't wrap automatically (fixes
problems displaying help non-wrapped in the install, #3670)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index bda3e7ad6..6f9bd29f6 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -304,7 +304,7 @@ sub create_box_with_title { } $o->{box_size} = n_line_size($nbline, 'text', $box); #- hugly hack because GtkLabel doesn't wrap when using languages that don't contain spaces - if (@_ <= 2 && ($nbline > 4 || ($nbline > 1 && ref($::o) && member($::o->{locale}{lang}, qw(ja))))) { + if (@_ <= 2 && ($nbline > 4 || ($nbline > 1 && ref($::o) && member($::o->{locale}{lang}, qw(ja zh_CN zh_TW))))) { $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}; |