dbusServices: Always import dbus errors
This makes sure custom errors are registered correctly, even when the service doesn't do anything other than passing them on. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3159>
This commit is contained in:
parent
ca0ee2ae90
commit
9e96e8495b
@ -3,6 +3,8 @@ import GLib from 'gi://GLib';
|
||||
|
||||
import {programArgs} from 'system';
|
||||
|
||||
import './misc/dbusErrors.js';
|
||||
|
||||
const Signals = imports.signals;
|
||||
|
||||
const IDLE_SHUTDOWN_TIME = 2; // s
|
||||
|
@ -6,6 +6,7 @@
|
||||
<file>dbusService.js</file>
|
||||
|
||||
<file>misc/config.js</file>
|
||||
<file>misc/dbusErrors.js</file>
|
||||
<file>misc/dbusUtils.js</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<file>misc/config.js</file>
|
||||
<file>misc/errorUtils.js</file>
|
||||
<file>misc/extensionUtils.js</file>
|
||||
<file>misc/dbusErrors.js</file>
|
||||
<file>misc/dbusUtils.js</file>
|
||||
<file>misc/params.js</file>
|
||||
</gresource>
|
||||
|
@ -6,6 +6,7 @@
|
||||
<file>dbusService.js</file>
|
||||
|
||||
<file>misc/config.js</file>
|
||||
<file>misc/dbusErrors.js</file>
|
||||
<file>misc/dbusUtils.js</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
<file>misc/config.js</file>
|
||||
<file>misc/dbusUtils.js</file>
|
||||
<file>misc/dbusErrors.js</file>
|
||||
<file>misc/signals.js</file>
|
||||
<file>misc/signalTracker.js</file>
|
||||
</gresource>
|
||||
|
Loading…
x
Reference in New Issue
Block a user