[gnome-software/wip/ubuntu-3-22: 9/13] 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: 9/13] snap: Use new Polkit API
 
- Date: Thu, 26 Oct 2017 21:46:48 +0000 (UTC)
 
commit 3883f428649fda50964f57facd0015ffc91d6564
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 29d9d83..dae6152 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]