[gnome-software/wip/ubuntu-3-20: 51/57] Non-live updates are updatable but not updatable-live
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-20: 51/57] Non-live updates are updatable but not updatable-live
- Date: Thu, 5 Oct 2017 04:14:42 +0000 (UTC)
commit 0d5c9018f705589d4dd89eb17c1ed7263d07a073
Author: William Hua <william hua canonical com>
Date: Wed Apr 13 09:06:10 2016 -0400
Non-live updates are updatable but not updatable-live
src/gs-shell-updates.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-updates.c b/src/gs-shell-updates.c
index d55e754..13c4dab 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -487,7 +487,7 @@ gs_shell_updates_get_updates_cb (GsPluginLoader *plugin_loader,
self->any_require_reboot = FALSE;
for (l = list; l != NULL; l = l->next) {
GsApp *app = GS_APP (l->data);
- if (gs_app_get_state (app) != AS_APP_STATE_UPDATABLE_LIVE)
+ if (gs_app_get_state (app) == AS_APP_STATE_UPDATABLE)
self->all_updates_are_live = FALSE;
if (gs_app_has_quirk (app, AS_APP_QUIRK_NEEDS_REBOOT))
self->any_require_reboot = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]