[gnome-software/wip/william/cherry-pick-4: 6/7] Non-live updates are updatable but not updatable-live
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/william/cherry-pick-4: 6/7] Non-live updates are updatable but not updatable-live
- Date: Mon, 6 Jun 2016 13:48:50 +0000 (UTC)
commit 2e85b9529b9e09e84eaf0c9539f13cd0db180600
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 2eeb821..3badb1d 100644
--- a/src/gs-shell-updates.c
+++ b/src/gs-shell-updates.c
@@ -486,7 +486,7 @@ gs_shell_updates_get_updates_cb (GsPluginLoader *plugin_loader,
self->any_require_reboot = FALSE;
for (i = 0; list != NULL && i < gs_app_list_length (list); i++) {
GsApp *app = gs_app_list_index (list, i);
- 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]