[gnome-software/wip/william/cherry-pick-4: 15/23] Allow AS_APP_STATE_INSTALLED to AS_APP_STATE_INSTALLING



commit 083ae8cf47c1098a61db5f55ee37b6da26b39359
Author: William Hua <william hua canonical com>
Date:   Thu Jun 2 15:47:17 2016 -0400

    Allow AS_APP_STATE_INSTALLED to AS_APP_STATE_INSTALLING

 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 95784a0..1bfa7f1 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -547,6 +547,7 @@ gs_app_set_state_internal (GsApp *app, AsAppState state)
        case AS_APP_STATE_INSTALLED:
                /* installed has to go into an action state */
                if (state == AS_APP_STATE_UNKNOWN ||
+                   state == AS_APP_STATE_INSTALLING ||
                    state == AS_APP_STATE_UPDATABLE ||
                    state == AS_APP_STATE_UPDATABLE_LIVE ||
                    state == AS_APP_STATE_REMOVING)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]