[gnome-shell] introspect: Allowlist GNOME portal



commit f5259a5ce4fe532509677e532e5237a7620f88a7
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Jun 21 16:32:50 2021 -0300

    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>

 js/misc/introspect.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/js/misc/introspect.js b/js/misc/introspect.js
index e46a7e8c59..85f491a693 100644
--- a/js/misc/introspect.js
+++ b/js/misc/introspect.js
@@ -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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]