summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-29 16:42:35 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-29 16:42:35 +0000
commitbae54d952aea78b56b504799ca7f63ec2bae4ad4 (patch)
tree3a7b3a9208f3bee6a5b9ba8ddcb3c05a95ee2040 /perl-install/ugtk2.pm
parent8c1d9da7b3ef3078191176bde7534fc263d74281 (diff)
downloaddrakx-bae54d952aea78b56b504799ca7f63ec2bae4ad4.tar
drakx-bae54d952aea78b56b504799ca7f63ec2bae4ad4.tar.gz
drakx-bae54d952aea78b56b504799ca7f63ec2bae4ad4.tar.bz2
drakx-bae54d952aea78b56b504799ca7f63ec2bae4ad4.tar.xz
drakx-bae54d952aea78b56b504799ca7f63ec2bae4ad4.zip
(gtkradio) wrap the child label
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 175b4b658..4eb39660c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -146,7 +146,11 @@ sub gtksetstyle {
sub gtkradio {
my $def = shift;
my $radio;
- map { gtkset_active($radio = Gtk2::RadioButton->new_with_label($radio ? $radio->get_group : undef, $_), $_ eq $def) } @_;
+ map {
+ my $w = gtkset_active($radio = Gtk2::RadioButton->new_with_label($radio ? $radio->get_group : undef, $_), $_ eq $def);
+ $w->get_child->set_line_wrap(1);
+ $w;
+ } @_;
}
sub gtkroot() { mygtk2::root_window() }