summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-22 10:30:05 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-22 10:30:05 +0000
commit882124af495e159068baa5b8af35f9cb23d46edc (patch)
tree989cd9e3b30130f07f607aef804bb820f7952f44 /perl-install/ugtk2.pm
parent07905ca96a681b8e161c0acc098fe51cb107cee6 (diff)
downloaddrakx-882124af495e159068baa5b8af35f9cb23d46edc.tar
drakx-882124af495e159068baa5b8af35f9cb23d46edc.tar.gz
drakx-882124af495e159068baa5b8af35f9cb23d46edc.tar.bz2
drakx-882124af495e159068baa5b8af35f9cb23d46edc.tar.xz
drakx-882124af495e159068baa5b8af35f9cb23d46edc.zip
CJK fixes: use newly introduced Gtk2::WrappedLabel package
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 5abda4fa8..df201986f 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -323,7 +323,7 @@ sub create_box_with_title {
undef $::no_separator;
my $new_label = sub {
my ($txt) = @_;
- my $w = ref($txt) ? $txt : gtkset_line_wrap(Gtk2::Label->new($txt), 1);
+ my $w = ref($txt) ? $txt : Gtk2::WrappedLabel->new($txt);
gtkset_name($w, "Title");
};
if ($o->{icon} && (!$::isWizard || $::isInstall)) {
@@ -377,7 +377,7 @@ sub create_dialog {
my $ret = 0;
my $dialog = _create_dialog($title, $o_options);
$dialog->set_border_width(10);
- my $text = $o_options->{use_markup} ? gtkset_markup(Gtk2::Label->new, $label) : Gtk2::Label->new($label);
+ my $text = $o_options->{use_markup} ? gtkset_markup(Gtk2::WrappedLabel->new, $label) : Gtk2::WrappedLabel->new($label);
gtkpack($dialog->vbox,
gtkpack_(Gtk2::HBox->new,
if_($o_options->{stock}, 0, Gtk2::Image->new_from_stock($o_options->{stock}, 'dialog')),