From 4b4e84f42ef6be1cb1bb9dac61e1431da181e84e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 2 Feb 2010 15:58:46 +0000 Subject: (no_more_supported_choice) workaround eight year old gtk+ bug and try harder to use available space for labels --- mdkapplet | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mdkapplet b/mdkapplet index 9cfd9d7a..bb1bcd9c 100755 --- a/mdkapplet +++ b/mdkapplet @@ -544,7 +544,11 @@ sub no_more_supported_choice() { #$_ and $_->set_border_width(8) foreach $b1, $b2, $b3; # explicitely wrap too long message: - $_ and $_->child->set_line_wrap(1) foreach $b1, $b2; + foreach ($b1, $b2) { + next if !$_; + $_->child->set_line_wrap(1); + $_->child->set_size_request($width-50, -1); + } my $res = fill_n_run_portable_dialog($w, \@widgets); -- cgit v1.2.1