[gnome-software/gnome-3-28] Fix gs_app_set_state_recover not working during purchase transactions



commit 1448f5da9fbd6cc105e6a9190b4d2236a74190b7
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Apr 19 15:05:12 2018 +1200

    Fix gs_app_set_state_recover not working during purchase transactions

 lib/gs-app.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index 665eab6c..3dde87c8 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -1009,6 +1009,7 @@ gs_app_set_state_internal (GsApp *app, AsAppState state)
        case AS_APP_STATE_INSTALLING:
        case AS_APP_STATE_REMOVING:
        case AS_APP_STATE_QUEUED_FOR_INSTALL:
+       case AS_APP_STATE_PURCHASING:
                /* transient, so ignore */
                break;
        default:


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