[gnome-software/1164-update-fatigue-only-urgent-updates-are-urgent] gs-update-monitor: Consider only high urgency updates as important



commit 205e2dc3b00027a0e66c20a0ed739f065d5e48ff
Author: Milan Crha <mcrha redhat com>
Date:   Thu Mar 11 08:04:15 2021 +0100

    gs-update-monitor: Consider only high urgency updates as important
    
    Not every security update is important, those important should be
    marked as such in the update, thus when there are released security
    updates often the update monitor would notify about them sooner
    than in 14 days interval.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1164

 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 c1d12a72c..d0fe07fce 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -98,7 +98,6 @@ check_updates_kind (GsAppList *apps,
                app = gs_app_list_index (apps, ii);
 
                has_important = has_important ||
-                               gs_app_get_update_urgency (app) == AS_URGENCY_KIND_CRITICAL ||
                                gs_app_get_update_urgency (app) == AS_URGENCY_KIND_HIGH;
 
                /* took from gs-updates-section.c: _all_offline_updates_downloaded();


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