diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-02-05 00:23:31 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-02-05 00:23:31 +0100 |
commit | d3eb4943d88f84db1a827bb0c7bc51984250eab7 (patch) | |
tree | 68e7f07ff3610d9064c97302cf669eb4745c2da0 | |
parent | 9fbe713543ba28ab44914cc1d58ee1af469c4760 (diff) | |
download | mgaonline-d3eb4943d88f84db1a827bb0c7bc51984250eab7.tar mgaonline-d3eb4943d88f84db1a827bb0c7bc51984250eab7.tar.gz mgaonline-d3eb4943d88f84db1a827bb0c7bc51984250eab7.tar.bz2 mgaonline-d3eb4943d88f84db1a827bb0c7bc51984250eab7.tar.xz mgaonline-d3eb4943d88f84db1a827bb0c7bc51984250eab7.zip |
explain
-rwxr-xr-x | mgaapplet | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -693,6 +693,7 @@ sub setState { $bubble->set_urgency($state{$state}{urgency}) if $state{$state}{urgency}; my $timeout = 5000; $bubble->set_timeout($timeout); + # both need to be in a eval block in case notification daemon isn't running: Glib::Timeout->add($timeout, sub { eval { $bubble->close }; 0 }); eval { $bubble->show }; warn ">> ERR:$@" if $@; |