af5aff3251
Commit 799bbdb50
split out the public Fdo notification service, so
that any app with permission to talk to org.freedesktop.Notifications
will in fact be limited to that service.
To a somewhat lesser extent this applies to the org.gnome.ScreenSaver
service as well, which some applications still use instead of the
Inhibit portal.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3452
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1520>
12 lines
270 B
JavaScript
12 lines
270 B
JavaScript
/* exported main */
|
|
|
|
const { DBusService } = imports.dbusService;
|
|
const { ScreenSaverService } = imports.screenSaverService;
|
|
|
|
function main() {
|
|
const service = new DBusService(
|
|
'org.gnome.ScreenSaver',
|
|
new ScreenSaverService());
|
|
service.run();
|
|
}
|