summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-12-11 14:26:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-12-11 14:26:42 +0000
commitc7a16e15e5c3d343c3f01fabc5add3aa3a15889f (patch)
tree1eb8c0597b03792936a7ac68ca656fa5d5ca8f8c /perl-install/ugtk2.pm
parent138380dbb65df8362e92f7d449cb0f538872f50a (diff)
downloaddrakx-backup-do-not-use-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar
drakx-backup-do-not-use-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar.gz
drakx-backup-do-not-use-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar.bz2
drakx-backup-do-not-use-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.tar.xz
drakx-backup-do-not-use-c7a16e15e5c3d343c3f01fabc5add3aa3a15889f.zip
reuse already consolided code
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm3
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 {