diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-02-02 15:58:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-02-02 15:58:46 +0000 |
commit | 4b4e84f42ef6be1cb1bb9dac61e1431da181e84e (patch) | |
tree | 0d577509755cf81a1dae303a868993d6ff2c7e78 /mdkapplet | |
parent | ff21ca74e27d584edae8f6b712c9298832b8c17e (diff) | |
download | mgaonline-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
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |