[gnome-software] Prompt for auth when app purchasing requires it



commit 8eae8370ac48058ed0cd38bf10dd605027d84f26
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Jan 24 16:53:27 2018 +1300

    Prompt for auth when app purchasing requires it

 src/gs-page.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-page.c b/src/gs-page.c
index b755580..e075eac 100644
--- a/src/gs-page.c
+++ b/src/gs-page.c
@@ -398,7 +398,8 @@ gs_page_install_purchase_response_cb (GtkDialog *dialog,
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_PURCHASE,
                                         "app", helper->app,
                                         "price", gs_app_get_price (helper->app),
-                                        "failure-flags", GS_PLUGIN_FAILURE_FLAGS_USE_EVENTS,
+                                        "failure-flags", GS_PLUGIN_FAILURE_FLAGS_USE_EVENTS |
+                                                         GS_PLUGIN_FAILURE_FLAGS_FATAL_AUTH,
                                         NULL);
        gs_plugin_loader_job_process_async (priv->plugin_loader,
                                            plugin_job,


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