diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-02 13:37:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-02 13:37:57 +0000 |
commit | 4785bd2c16ec201b13dcf879916eae4c81652072 (patch) | |
tree | 75992a9bdde098b294aca5adac640c528fe28fca /perl-install/interactive/gtk.pm | |
parent | 32813e3beb619fdc35771e38dfbf6d61acc46dde (diff) | |
download | drakx-4785bd2c16ec201b13dcf879916eae4c81652072.tar drakx-4785bd2c16ec201b13dcf879916eae4c81652072.tar.gz drakx-4785bd2c16ec201b13dcf879916eae4c81652072.tar.bz2 drakx-4785bd2c16ec201b13dcf879916eae4c81652072.tar.xz drakx-4785bd2c16ec201b13dcf879916eae4c81652072.zip |
(create_boxradio,create_box_with_title,create_widget,get_label_width,main,reallyChooseDesktop)
explain infamous 6 years old gnome bug #101968 workarounds
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 61e38b37f..03832686a 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -50,6 +50,7 @@ sub create_boxradio { my $tips = Gtk2::Tooltips->new; 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->signal_connect(button_press_event => $double_click) if $double_click; @@ -398,6 +399,7 @@ sub create_widget { } elsif ($e->{type} eq 'only_label') { $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}}); } elsif ($e->{type} eq 'label') { |