[gnome-software/wip/automatic-update-fixes] update-monitor: Change when "Updates Ready to Install" is shown
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/automatic-update-fixes] update-monitor: Change when "Updates Ready to Install" is shown
- Date: Wed, 15 Jun 2022 16:21:16 +0000 (UTC)
commit af27adbafbfee2e2bcdcddf3bb37e4b12a69543a
Author: Milan Crha <mcrha redhat com>
Date: Wed Jun 15 18:19:36 2022 +0200
update-monitor: Change when "Updates Ready to Install" is shown
It could be shown also when not all updates were downloaded, which
is a mistake, because offline updates cannot be installed separately.
src/gs-update-monitor.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 5e6241a85..77ff00e34 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -231,9 +231,7 @@ should_notify_about_pending_updates (GsUpdateMonitor *monitor,
res = TRUE;
}
}
- /* When automatic updates are on and there are things ready to be installed, then rather claim
- * about things to be installed, than things to be downloaded. */
- } else if (all_downloaded || (any_downloaded && should_download)) {
+ } else if (all_downloaded) {
if (timestamp_days >= 3) {
*out_title = _("Software Updates Ready to Install");
*out_body = _("Software updates are waiting and ready to be installed.");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]