summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-02 13:17:16 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-02 13:17:16 +0000
commit905873b17513eb7be49be60b78b47d7cc64aaf12 (patch)
treef7ce225a26dd4b6e09eea1d8ffc48cde9676e829
parentd34bfb3be9236597b0166bfaa4e2b3803d6ba9d6 (diff)
downloaddrakx-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.pm1
-rw-r--r--perl-install/ugtk2.pm1
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;
} @_;