summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmgaapplet6
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7326332d..cdd52d06 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- mgaapplet:
o correctly detect right-clicks before the first check for updates (mga#20540)
+ o fix broken notifications when the user does a manual check before
+ the first automatic check has been triggered
o correctly display the application logo in the 'About' dialog box
o fix broken paths to drakconnect and drakrpm-editmedia
diff --git a/mgaapplet b/mgaapplet
index 2f996598..ab1b41c4 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -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: