summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-02 15:58:46 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-02 15:58:46 +0000
commit4b4e84f42ef6be1cb1bb9dac61e1431da181e84e (patch)
tree0d577509755cf81a1dae303a868993d6ff2c7e78
parentff21ca74e27d584edae8f6b712c9298832b8c17e (diff)
downloadmgaonline-4b4e84f42ef6be1cb1bb9dac61e1431da181e84e.tar
mgaonline-4b4e84f42ef6be1cb1bb9dac61e1431da181e84e.tar.gz
mgaonline-4b4e84f42ef6be1cb1bb9dac61e1431da181e84e.tar.bz2
mgaonline-4b4e84f42ef6be1cb1bb9dac61e1431da181e84e.tar.xz
mgaonline-4b4e84f42ef6be1cb1bb9dac61e1431da181e84e.zip
(no_more_supported_choice) workaround eight year old gtk+ bug and try
harder to use available space for labels
-rwxr-xr-xmdkapplet6
1 files changed, 5 insertions, 1 deletions
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);