From f9b8c020f93d96f52c734eba139e06b59d6a820f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 1 Sep 2008 16:08:16 +0000 Subject: (gtkradio) fix sizing radio buttons' labels (infamous 6 years old gnome bug #101968) --- perl-install/NEWS | 2 ++ perl-install/install/NEWS | 1 + perl-install/ugtk2.pm | 1 + 3 files changed, 4 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index 880810de5..dd392d7bd 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -2,6 +2,8 @@ o make all windows are "dialog", so that gurpmi.addmedia during install displays nicely o fix alignment of check buttons + o fix sizing radio buttons' labels (infamous 6 years old gnome bug + #101968) o prevent big combo boxes to cause an horizontall scrollbar to appear by using the "ellipsize" property o no relief on 'advanced' buttons diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index d63050593..550fd6016 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -3,6 +3,7 @@ - if network access, configure urpmi with --mirrorlist --distrib, and install updates. This replaces the previous "Install Updates" step. - fix alignment of check buttons +- fix sizing radio buttons' labels (infamous 6 years old gnome bug #101968) - further improvements to the "bootloader", "partitionning" steps - prevent big combo boxes to cause an horizontall scrollbar to appear by using the "ellipsize" property diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 4eb39660c..b6e11e2bc 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -148,6 +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->get_child->set_line_wrap(1); $w; } @_; -- cgit v1.2.1