[gnome-software: 2/2] Merge branch '1253-software-is-not-preparing-any-updates' into 'master'




commit 3460160726f1c1f12aae276e84a6c48e6d292dca
Merge: fd73d9019 3d29ee24f
Author: Philip Withnall <philip tecnocode co uk>
Date:   Tue Jun 1 10:09:33 2021 +0000

    Merge branch '1253-software-is-not-preparing-any-updates' into 'master'
    
    Resolve "Software is not preparing any updates?"
    
    Closes #1253
    
    See merge request GNOME/gnome-software!744

 src/gs-update-monitor.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --cc src/gs-update-monitor.c
index 8083acab0,87ccc2204..acf492aa5
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@@ -517,11 -510,9 +510,11 @@@ get_updates_finished_cb (GObject *objec
  
        g_debug ("got %u updates", gs_app_list_length (apps));
  
 -      if (should_download_updates (monitor) &&
 +      should_download = should_download_updates (monitor);
 +
 +      if (should_download &&
            (security_timestamp_old != security_timestamp ||
-           no_notification_for_days (monitor, 14))) {
+           check_if_timestamp_more_than_days_ago (monitor, "install-timestamp", 14))) {
                g_autoptr(GsPluginJob) plugin_job = NULL;
  
                /* download any updates; individual plugins are responsible for deciding


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