summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet4
1 files changed, 3 insertions, 1 deletions
diff --git a/mgaapplet b/mgaapplet
index 8f928d10..44240e6a 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -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 $@;
}