From fda938175e5d1adc8e81fe54e600f478cf9c3dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 5 Mar 2020 02:00:57 +0100 Subject: [PATCH] shellDBus: Add new OpenExtensionPrefs method Unlike any other methods in the Extensions API, LaunchExtensionPrefs() opens what appears to be an application dialog, except that it is really a separate application that the caller has no control over. In order to address that, add a new OpenExtensionPrefs() method that takes additional parameters (modelled after the desktop portal APIs) that will make it possible to improve the behavior in the future. The new parameters are ignored for now, but pushing the API out now will allow us to fill in the functionality post the .0 release. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1074 --- .../org.gnome.Shell.Extensions.xml | 29 +++++++++++++++++-- js/ui/shellDBus.js | 4 +++ 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/data/dbus-interfaces/org.gnome.Shell.Extensions.xml b/data/dbus-interfaces/org.gnome.Shell.Extensions.xml index eb7be8f1a..ab80c1096 100644 --- a/data/dbus-interfaces/org.gnome.Shell.Extensions.xml +++ b/data/dbus-interfaces/org.gnome.Shell.Extensions.xml @@ -199,14 +199,37 @@ + + + + + + +