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:
parent
a21058e6c9
commit
40543bdd28
@ -1,4 +1,4 @@
|
||||
[portal]
|
||||
DBusName=org.freedesktop.impl.portal.desktop.gnome
|
||||
DBusName=org.gnome.Shell.Portal
|
||||
Interfaces=org.freedesktop.impl.portal.Access
|
||||
UseIn=gnome
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user