summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-27 18:21:28 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-27 18:21:28 +0000
commit2e91e977577adccd7c0411afa44084308010d9b3 (patch)
treeab70bba8c09aa5c889a878079e66ec972d467d8b /perl-install/interactive/gtk.pm
parent98826606f804f5e4497beb7aa584c24264964c89 (diff)
downloaddrakx-2e91e977577adccd7c0411afa44084308010d9b3.tar
drakx-2e91e977577adccd7c0411afa44084308010d9b3.tar.gz
drakx-2e91e977577adccd7c0411afa44084308010d9b3.tar.bz2
drakx-2e91e977577adccd7c0411afa44084308010d9b3.tar.xz
drakx-2e91e977577adccd7c0411afa44084308010d9b3.zip
(create_widgets_block) fix right aligned widgets
(regression introduced in r244432: "(create_widget) workaround infamous 6 years old gnome bug #101968 (bad label wrapping)")
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-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 b4185baf8..368beddab 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -387,7 +387,7 @@ sub create_widget {
} elsif ($e->{type} eq 'only_label') {
$w = $e->{title} ?
gtknew('Title2', label => escape_text_for_TextView_markup_format(${$e->{val}}),
- width => mygtk2::get_label_width()) :
+ if_($e->{alignment} ne 'right', width => mygtk2::get_label_width())) :
gtknew('Label_Left', line_wrap => 1, text_markup => ${$e->{val}});
} elsif ($e->{type} eq 'label') {
$w = gtknew('WrappedLabel', text_markup => ${$e->{val}});