[gnome-software/wip/temp/ubuntu-xenial-rebased: 233/329] Allow AS_APP_STATE_INSTALLED to AS_APP_STATE_INSTALLING
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 233/329] Allow AS_APP_STATE_INSTALLED to AS_APP_STATE_INSTALLING
- Date: Fri, 29 Apr 2016 14:04:56 +0000 (UTC)
commit 3a3c35a0f2deaaa9e44408e686a94c6e88afb067
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 d5db986..b7ce80b 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -489,6 +489,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]