summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-01 16:08:16 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-01 16:08:16 +0000
commitf9b8c020f93d96f52c734eba139e06b59d6a820f (patch)
treeaa98d7c380a433e6983a9d29c9288afa1a1c3ff9
parent67d1dc672a5a8440c4471b47e724c571a3d0eca7 (diff)
downloaddrakx-f9b8c020f93d96f52c734eba139e06b59d6a820f.tar
drakx-f9b8c020f93d96f52c734eba139e06b59d6a820f.tar.gz
drakx-f9b8c020f93d96f52c734eba139e06b59d6a820f.tar.bz2
drakx-f9b8c020f93d96f52c734eba139e06b59d6a820f.tar.xz
drakx-f9b8c020f93d96f52c734eba139e06b59d6a820f.zip
(gtkradio) fix sizing radio buttons' labels (infamous 6 years old gnome bug #101968)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/ugtk2.pm1
3 files changed, 4 insertions, 0 deletions
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;
} @_;