diff options
Diffstat (limited to 'mgaapplet')
-rwxr-xr-x | mgaapplet | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -690,7 +690,9 @@ sub setState { } $bubble->set_urgency($state{$state}{urgency}) if $state{$state}{urgency}; - $bubble->set_timeout(5000); + my $timeout = 5000; + $bubble->set_timeout($timeout); + Glib::Timeout->add($timeout, sub { Gtk3->main_quit; 0 }); eval { $bubble->show; Gtk3->main }; warn ">> ERR:$@" if $@; } |