diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/interactive/gtk.pm | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 66836fe84..3f75c0c0a 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -6,6 +6,8 @@ Version 11.43 - 16 September 2008 (regression introduced on 2008-08-29) - increase default window height b/c of package selection step - refresh partitionning step +- size most labels (workaround infamous 6 years old gnome bug #101968) + (eg: in advanced language selection) - update icons for packages/services selection Version 11.42 - 12 September 2008 diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index ee10ba5ee..929083396 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -397,11 +397,13 @@ sub create_widget { $set = sub { $w->set_active($_[0]) }; $real_w = add_padding($w); } elsif ($e->{type} eq 'only_label') { + my @common = ( + # workaround infamous 6 years old gnome bug #101968: + if_($e->{alignment} ne 'right', width => mygtk2::get_label_width()) + ); $w = $e->{title} ? - gtknew('Title2', label => escape_text_for_TextView_markup_format(${$e->{val}}), - # workaround infamous 6 years old gnome bug #101968: - if_($e->{alignment} ne 'right', width => mygtk2::get_label_width())) : - gtknew('Label_Left', line_wrap => 1, text_markup => ${$e->{val}}); + gtknew('Title2', label => escape_text_for_TextView_markup_format(${$e->{val}}), @common) : + gtknew('Label_Left', line_wrap => 1, text_markup => ${$e->{val}}, @common); } elsif ($e->{type} eq 'label') { $w = gtknew('WrappedLabel', text_markup => ${$e->{val}}); $set = sub { $w->set($_[0]) }; |