diff options
Diffstat (limited to 'mgaapplet')
-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 $@; |