[gnome-software/wip/kalev/gnome-3-22: 73/96] trivial: Allow UPDATABLE_LIVE->REMOVING



commit a0ae88755413ab4829b059e9c78fd360c8205fe2
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 05008fd..03845ba 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -843,6 +843,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]