[gnome-software/wip/ubuntu-3-22: 25/29] snap: Use new Polkit API
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-22: 25/29] snap: Use new Polkit API
- Date: Thu, 2 Nov 2017 22:30:32 +0000 (UTC)
commit e6a88f225970b5449f30b14efdab8094d7b9c79b
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Sep 5 11:36:24 2017 +1200
snap: Use new Polkit API
src/plugins/gs-snapd.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-snapd.c b/src/plugins/gs-snapd.c
index 952ffb4..219063e 100644
--- a/src/plugins/gs-snapd.c
+++ b/src/plugins/gs-snapd.c
@@ -140,6 +140,7 @@ send_request (const gchar *method,
}
if (content)
g_string_append_printf (request, "Content-Length: %zu\r\n", strlen (content));
+ g_string_append (request, "X-Allow-Interaction: true\r\n");
g_string_append (request, "\r\n");
if (content)
g_string_append (request, content);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]