[gnome-software] Fix distro upgrade invalidation state transitions to actually work
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fix distro upgrade invalidation state transitions to actually work
- Date: Tue, 21 Jun 2016 09:14:30 +0000 (UTC)
commit 52860affcebcde5fb0cbabd9ad297969c573c8a0
Author: Kalev Lember <klember redhat com>
Date: Tue Jun 21 11:10:50 2016 +0200
Fix distro upgrade invalidation state transitions to actually work
src/gs-app.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index 577a65d..3a3e0e6 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -644,6 +644,7 @@ gs_app_set_state_internal (GsApp *app, AsAppState state)
case AS_APP_STATE_UPDATABLE:
/* updatable has to go into an action state */
if (state == AS_APP_STATE_UNKNOWN ||
+ state == AS_APP_STATE_AVAILABLE ||
state == AS_APP_STATE_REMOVING)
state_change_ok = TRUE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]