mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
accessDialog: Stop owning portal name
We no longer provide a portal implementation, so there's no need for owning the name. Right now only the gnome portal consumes the API, and that accesses it under "org.gnome.Shell". Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3326>
This commit is contained in:
parent
b4d96a0f66
commit
9cafdb6d27
1 changed files with 0 additions and 2 deletions
|
|
@ -136,8 +136,6 @@ export class AccessDialogDBus {
|
||||||
|
|
||||||
this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this);
|
this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(AccessIface, this);
|
||||||
this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop');
|
this._dbusImpl.export(Gio.DBus.session, '/org/freedesktop/portal/desktop');
|
||||||
|
|
||||||
Gio.DBus.session.own_name('org.gnome.Shell.Portal', Gio.BusNameOwnerFlags.REPLACE, null, null);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AccessDialogAsync(params, invocation) {
|
AccessDialogAsync(params, invocation) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue