diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-12-11 14:26:42 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-12-11 14:26:42 +0000 |
commit | c7a16e15e5c3d343c3f01fabc5add3aa3a15889f (patch) | |
tree | 1eb8c0597b03792936a7ac68ca656fa5d5ca8f8c /perl-install | |
parent | 138380dbb65df8362e92f7d449cb0f538872f50a (diff) | |
download | drakx-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar drakx-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar.gz drakx-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar.bz2 drakx-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar.xz drakx-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.zip |
reuse already consolided code
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 9fd5fe589..0e665a0d3 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -129,8 +129,7 @@ sub gtksetstyle { sub gtkradio { my $def = shift; my $radio; - map { $radio = Gtk2::RadioButton->new($radio ? $radio->get_group : undef, $_); - $radio->set_active($_ eq $def); $radio } @_; + map { gtkset_active($radio = Gtk2::RadioButton->new($radio ? $radio->get_group : undef, $_), $_ eq $def) } @_; } sub gtkroot { |