summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-26 03:11:52 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-26 03:11:52 +0000
commit53e28a22c997384c6a7fcede407e4fba9016bb15 (patch)
tree071602195d126e2c0e41f1cd361562154f0d3d0a /mdkapplet
parente171188b736d5523283d24a830f3ca3eef9f2127 (diff)
downloadmgaonline-53e28a22c997384c6a7fcede407e4fba9016bb15.tar
mgaonline-53e28a22c997384c6a7fcede407e4fba9016bb15.tar.gz
mgaonline-53e28a22c997384c6a7fcede407e4fba9016bb15.tar.bz2
mgaonline-53e28a22c997384c6a7fcede407e4fba9016bb15.tar.xz
mgaonline-53e28a22c997384c6a7fcede407e4fba9016bb15.zip
(setState) make sure notifications' text doesn't got truncated
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index af356716..23f6545a 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -454,7 +454,7 @@ sub setState {
$icon->set_visible($state_type ne 'okay');
if ($state{$state_type}{tt}[0] && $icon->isa('Gtk2::StatusIcon') && !$state{$state_type}{do_not_use_bubble}) {
- my $bubble = Gtk2::Notify->new_with_status_icon(N("Warning"), formatAlaTeX(translate($state{$state_type}{tt}[0])),
+ my $bubble = Gtk2::Notify->new_with_status_icon(N("Warning"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n",
'/usr/share/icons/mdkonline.png', $icon);
$bubble->set_timeout(5000);
$bubble->show;