messageList: Mark NotificationMessageGroup for export
This allows extensions to override `_addNotification()` to create custom `NotificationMessage` subclasses, which is already possible for `MessageTray.MessageTray._showNotification()`. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3672>
This commit is contained in:
@ -832,7 +832,7 @@ class MediaMessage extends Message {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const NotificationMessageGroup = GObject.registerClass({
|
export const NotificationMessageGroup = GObject.registerClass({
|
||||||
Properties: {
|
Properties: {
|
||||||
'expanded': GObject.ParamSpec.boolean(
|
'expanded': GObject.ParamSpec.boolean(
|
||||||
'expanded', null, null,
|
'expanded', null, null,
|
||||||
|
Reference in New Issue
Block a user