notificationDaemon: Export notification source classes

Out of the members of the notification daemon(s), these are the most
necessary and flexible to override. The daemons are used as singletons
and notifications are rather temporary, while the sources are more
flexible and make the most sense to override (and revert).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2869>
This commit is contained in:
Andy Holmes 2023-08-07 11:48:45 -07:00 committed by Marge Bot
parent 8a4275ec80
commit a703e192ed

View File

@ -343,7 +343,7 @@ class FdoNotificationDaemon {
}
}
const FdoNotificationDaemonSource = GObject.registerClass(
export const FdoNotificationDaemonSource = GObject.registerClass(
class FdoNotificationDaemonSource extends MessageTray.Source {
_init(title, pid, sender, appId) {
this.pid = pid;
@ -560,7 +560,7 @@ function getPlatformData() {
function InvalidAppError() {}
const GtkNotificationDaemonAppSource = GObject.registerClass(
export const GtkNotificationDaemonAppSource = GObject.registerClass(
class GtkNotificationDaemonAppSource extends MessageTray.Source {
_init(appId) {
let objectPath = objectPathFromAppId(appId);