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



commit 909011b097e7f76f3b1359199c25edd2462ca9af
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 8ecf331cd..c1f8dd5ff 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]