diff options
Diffstat (limited to 'mgaapplet')
-rwxr-xr-x | mgaapplet | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -242,9 +242,13 @@ go2State('delayed'); # will be emitted and caught above (mga#20540). Glib::Timeout->add(100, sub { $icon->set_context_menu($menu); 0 }) if $is_plasma; -Glib::Timeout->add_seconds($config{FIRST_CHECK_DELAY}/1000, sub { +Glib::Timeout->add_seconds(1, sub { POSIX::sigprocmask(SIG_UNBLOCK, POSIX::SigSet->new(SIGCHLD)); $SIG{CHLD} = \&harvester; + 0; + }); + +Glib::Timeout->add_seconds($config{FIRST_CHECK_DELAY}/1000, sub { # schedule future checks: setup_cyclic_check(); # perform a test after initial delay: |