[gnome-software] trivial: Allow UPDATABLE_LIVE->REMOVING
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Allow UPDATABLE_LIVE->REMOVING
- Date: Thu, 23 Feb 2017 14:34:14 +0000 (UTC)
commit ca708da5ec518a7ba1df2b09c7a8ceb675f29830
Author: Richard Hughes <richard hughsie com>
Date: Thu Feb 23 14:33:04 2017 +0000
trivial: Allow UPDATABLE_LIVE->REMOVING
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 8463ca2..ae7d464 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -852,6 +852,7 @@ gs_app_set_state_internal (GsApp *app, AsAppState state)
case AS_APP_STATE_UPDATABLE_LIVE:
/* updatable-live has to go into an action state */
if (state == AS_APP_STATE_UNKNOWN ||
+ state == AS_APP_STATE_REMOVING ||
state == AS_APP_STATE_INSTALLING)
state_change_ok = TRUE;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]