summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xdraksnapshot-applet2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f5ebeba..8ebf685 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- applet:
+ o do not crash if notify deamon failed on ->show (#40031)
+
Version 0.9 - 3 April 2008, Thierry Vignaud
- applet:
diff --git a/draksnapshot-applet b/draksnapshot-applet
index adf8f5a..6e6265b 100755
--- a/draksnapshot-applet
+++ b/draksnapshot-applet
@@ -202,7 +202,7 @@ sub setState {
my $bubble = Gtk2::Notify->new_with_status_icon(N("Warning"), formatAlaTeX(translate($state{$state_type}{tt}[0])) . "\n",
'/usr/share/icons/draksnapshot.png', $icon);
$bubble->set_timeout(5000);
- $bubble->show;
+ eval { $bubble->show };
}
my $menu = Gtk2::Menu->new;