Blame SOURCES/0001-introspect-Allowlist-GNOME-portal.patch
|
|
553d37 |
From b73a07c20a522b3be0e096625c21d5606bcb7d82 Mon Sep 17 00:00:00 2001
|
|
|
553d37 |
From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
|
|
|
553d37 |
Date: Mon, 21 Jun 2021 16:32:50 -0300
|
|
|
553d37 |
Subject: [PATCH] introspect: Allowlist GNOME portal
|
|
|
553d37 |
|
|
|
553d37 |
It too implements app listing and introspection, so list it in the
|
|
|
553d37 |
allowlist.
|
|
|
553d37 |
|
|
|
553d37 |
Part-of:
|
|
|
553d37 |
<https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1894>
|
|
|
553d37 |
---
|
|
|
553d37 |
js/misc/introspect.js | 5 ++++-
|
|
|
553d37 |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
553d37 |
|
|
|
553d37 |
diff --git a/js/misc/introspect.js b/js/misc/introspect.js
|
|
|
553d37 |
index f3c938af9..45eee81ce 100644
|
|
|
553d37 |
--- a/js/misc/introspect.js
|
|
|
553d37 |
+++ b/js/misc/introspect.js
|
|
|
553d37 |
@@ -1,7 +1,10 @@
|
|
|
553d37 |
/* exported IntrospectService */
|
|
|
553d37 |
const { Gio, GLib, Meta, Shell, St } = imports.gi;
|
|
|
553d37 |
|
|
|
553d37 |
-const APP_ALLOWLIST = ['org.freedesktop.impl.portal.desktop.gtk'];
|
|
|
553d37 |
+const APP_ALLOWLIST = [
|
|
|
553d37 |
+ 'org.freedesktop.impl.portal.desktop.gtk',
|
|
|
553d37 |
+ 'org.freedesktop.impl.portal.desktop.gnome',
|
|
|
553d37 |
+];
|
|
|
553d37 |
|
|
|
553d37 |
const INTROSPECT_DBUS_API_VERSION = 3;
|
|
|
553d37 |
|
|
|
553d37 |
--
|
|
|
553d37 |
2.38.1
|
|
|
553d37 |
|