portal: Own org.gnome.Shell.Portal for the access portal
org.freedesktop.impl.portal.desktop.gnome will be used for the GNOME implementation of desktop portals in the future, so make sure GNOME Shell's implementation of the access portal won't conflict. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1872>
This commit is contained in:
@ -124,7 +124,7 @@ var AccessDialogDBus = class {
|
||||
this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this);
|
||||
this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop');
|
||||
|
||||
Gio.DBus.session.own_name('org.freedesktop.impl.portal.desktop.gnome', Gio.BusNameOwnerFlags.REPLACE, null, null);
|
||||
Gio.DBus.session.own_name('org.gnome.Shell.Portal', Gio.BusNameOwnerFlags.REPLACE, null, null);
|
||||
}
|
||||
|
||||
AccessDialogAsync(params, invocation) {
|
||||
|
Reference in New Issue
Block a user