[gnome-software/wip/ubuntu-3-20: 12/30] Allow AS_APP_STATE_INSTALLED	to AS_APP_STATE_INSTALLING
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software/wip/ubuntu-3-20: 12/30] Allow AS_APP_STATE_INSTALLED	to AS_APP_STATE_INSTALLING
- Date: Tue,  5 Sep 2017 22:49:08 +0000 (UTC)
commit bbdbe0d155da60bdde95d81c444129965ff544a1
Author: William Hua <william hua canonical com>
Date:   Wed Apr 13 18:24:34 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 2086736..564afff 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -498,6 +498,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]