[gnome-software/wip/ubuntu-3-22: 28/33] snap: Use new Polkit API



commit fd2c5ff20d1aa703e8e4c25ef06923693eafe544
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]