summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-08 10:07:36 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-08 10:07:36 +0000
commit6a7a8f513ad118e8aaaf761756eee8431bbfcc59 (patch)
tree2d0ce93a9e8bf425f67264635818d5b251b1b0de /perl-install/interactive
parentdf482f4bcab92199c195d5c8ba66ac7c688505a4 (diff)
downloaddrakx-6a7a8f513ad118e8aaaf761756eee8431bbfcc59.tar
drakx-6a7a8f513ad118e8aaaf761756eee8431bbfcc59.tar.gz
drakx-6a7a8f513ad118e8aaaf761756eee8431bbfcc59.tar.bz2
drakx-6a7a8f513ad118e8aaaf761756eee8431bbfcc59.tar.xz
drakx-6a7a8f513ad118e8aaaf761756eee8431bbfcc59.zip
(create_boxradio) do not size radio button that have a label (eg: drakauth)
thus preventing uneeded horizontal scrollbar to appear regression introduced in commit r244594 (from 2008-09-01): "(gtkradio) fix sizing radio buttons' labels (infamous 6 years old gnome bug #101968)"
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 5e2df3011..9a35a16ac 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -51,7 +51,7 @@ sub create_boxradio {
mapn {
my ($txt, $w) = @_;
# workaround infamous 6 years old gnome bug #101968:
- $w->child->set_size_request(mygtk2::get_label_width(), -1) if $e->{alignment} ne 'right';
+ $w->child->set_size_request(mygtk2::get_label_width(), -1) if $e->{alignment} ne 'right' && !$e->{label};
$w->signal_connect(button_press_event => $double_click) if $double_click;
$w->signal_connect(key_press_event => $e->{may_go_to_next});