diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-02 13:17:16 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-02 13:17:16 +0000 |
commit | 905873b17513eb7be49be60b78b47d7cc64aaf12 (patch) | |
tree | f7ce225a26dd4b6e09eea1d8ffc48cde9676e829 | |
parent | d34bfb3be9236597b0166bfaa4e2b3803d6ba9d6 (diff) | |
download | drakx-905873b17513eb7be49be60b78b47d7cc64aaf12.tar drakx-905873b17513eb7be49be60b78b47d7cc64aaf12.tar.gz drakx-905873b17513eb7be49be60b78b47d7cc64aaf12.tar.bz2 drakx-905873b17513eb7be49be60b78b47d7cc64aaf12.tar.xz drakx-905873b17513eb7be49be60b78b47d7cc64aaf12.zip |
(gtkradio,create_boxradio) move label sizing one level upper (needed for next commit)
-rw-r--r-- | perl-install/interactive/gtk.pm | 1 | ||||
-rw-r--r-- | perl-install/ugtk2.pm | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index e575de132..b37f1e98d 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -50,6 +50,7 @@ sub create_boxradio { my $tips = Gtk2::Tooltips->new; mapn { my ($txt, $w) = @_; + $w->child->set_size_request(mygtk2::get_label_width(), -1); $w->signal_connect(button_press_event => $double_click) if $double_click; $w->signal_connect(key_press_event => $e->{may_go_to_next}); diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 5d08d9f51..4eb39660c 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -148,7 +148,6 @@ 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_label_width(), -1); $w->get_child->set_line_wrap(1); $w; } @_; |