introspect: Allowlist GNOME portal

It too implements app listing and introspection, so list it in the allowlist.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1894>
This commit is contained in:
Georges Basile Stavracas Neto 2021-06-21 16:32:50 -03:00
parent 158920924d
commit f5259a5ce4

View File

@ -3,7 +3,10 @@ const { Gio, GLib, Meta, Shell, St } = imports.gi;
const INTROSPECT_SCHEMA = 'org.gnome.shell';
const INTROSPECT_KEY = 'introspect';
const APP_ALLOWLIST = ['org.freedesktop.impl.portal.desktop.gtk'];
const APP_ALLOWLIST = [
'org.freedesktop.impl.portal.desktop.gtk',
'org.freedesktop.impl.portal.desktop.gnome',
];
const INTROSPECT_DBUS_API_VERSION = 3;