[gnome-software/wip/mcrha/update-notifications: 8/8] gs-update-monitor: Correct last notification timestamp reset




commit 2ff332826f841c4ea1d9458df81648868745ea41
Author: Milan Crha <mcrha redhat com>
Date:   Thu Sep 30 16:47:40 2021 +0200

    gs-update-monitor: Correct last notification timestamp reset
    
    Do not reset the notification timestamp after the list of updates
    is received, that should be done when the notification had been shown.
    
    Reported downstream at:
    https://bugzilla.redhat.com/show_bug.cgi?id=2009063

 src/gs-update-monitor.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 787c605a1..a8421fcc4 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -613,7 +613,6 @@ get_updates_finished_cb (GObject *object, GAsyncResult *res, gpointer data)
                        notify_list = apps;
 
                notify_about_pending_updates (monitor, notify_list);
-               reset_update_notification_timestamp (monitor);
        }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]