[gnome-software/gnome-3-20] 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/gnome-3-20] Fix distro upgrade invalidation state transitions to actually work
- Date: Tue, 21 Jun 2016 09:14:05 +0000 (UTC)
commit 9a1e26b5e77aea91f7c44a98a7fd953c838617db
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 6effba8..d0256e4 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -524,6 +524,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]