[gnome-software] Prompt for auth when app purchasing requires it
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Prompt for auth when app purchasing requires it
- Date: Wed, 24 Jan 2018 03:54:17 +0000 (UTC)
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]