diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 00:18:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-05 00:18:43 +0000 |
commit | fa23ce123d0acf6a7391ae070e9c6a4f241625d2 (patch) | |
tree | 3be7601b7667540078084f3315b7237a0f78dcf0 | |
parent | 038160752b70234dacab8204f6546964bf2d826d (diff) | |
download | mgaonline-fa23ce123d0acf6a7391ae070e9c6a4f241625d2.tar mgaonline-fa23ce123d0acf6a7391ae070e9c6a4f241625d2.tar.gz mgaonline-fa23ce123d0acf6a7391ae070e9c6a4f241625d2.tar.bz2 mgaonline-fa23ce123d0acf6a7391ae070e9c6a4f241625d2.tar.xz mgaonline-fa23ce123d0acf6a7391ae070e9c6a4f241625d2.zip |
(setState) do not crash if notfiy failed on ->show (#38496)
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | mdkapplet | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ - mdkapplet: + o do not crash if notfiy failed on ->show (#38496) o make sure notifications' text doesn't got truncated o use more modern API to check for updates @@ -467,7 +467,7 @@ sub setState { 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; + eval { $bubble->show }; } my $menu = Gtk2::Menu->new; |