diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-04-14 17:21:08 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-04-14 17:21:08 +0000 |
commit | f9c33aaa670cfe1991fd4351377d256df9bae297 (patch) | |
tree | 9caf6abdc92e89648ad4db4941cf59188832b66f /draksnapshot-applet | |
parent | 08720733abed505c3b4231b09e57786d3ed5ab38 (diff) | |
download | draksnapshot-f9c33aaa670cfe1991fd4351377d256df9bae297.tar draksnapshot-f9c33aaa670cfe1991fd4351377d256df9bae297.tar.gz draksnapshot-f9c33aaa670cfe1991fd4351377d256df9bae297.tar.bz2 draksnapshot-f9c33aaa670cfe1991fd4351377d256df9bae297.tar.xz draksnapshot-f9c33aaa670cfe1991fd4351377d256df9bae297.zip |
(setState) like mdkapplet, do not crash if notify deamon failed on
->show (#40031)
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@242164 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
Diffstat (limited to 'draksnapshot-applet')
-rwxr-xr-x | draksnapshot-applet | 2 |
1 files changed, 1 insertions, 1 deletions
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; |