diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-02 13:07:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-02 13:07:49 +0000 |
commit | d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6 (patch) | |
tree | 58b53e57e24c9117b7c05593a136ad8be377f770 /perl-install | |
parent | 4099c94c85c84aa435747f2e39bc31ca58c89eaf (diff) | |
download | drakx-backup-do-not-use-d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6.tar drakx-backup-do-not-use-d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6.tar.gz drakx-backup-do-not-use-d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6.tar.bz2 drakx-backup-do-not-use-d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6.tar.xz drakx-backup-do-not-use-d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6.zip |
(gtkradio) do not open code get_label_width()
Diffstat (limited to 'perl-install')
-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 b6e11e2bc..5d08d9f51 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -148,7 +148,7 @@ sub gtkradio { my $radio; map { my $w = gtkset_active($radio = Gtk2::RadioButton->new_with_label($radio ? $radio->get_group : undef, $_), $_ eq $def); - $w->child->set_size_request((mygtk2::get_main_window_size())[0] - 50, -1); + $w->child->set_size_request(mygtk2::get_label_width(), -1); $w->get_child->set_line_wrap(1); $w; } @_; |