messageTray: Inherit Notification, Source and NotificationPolicy from GObject
Register notifications, sources and policies as GObject gtypes so that they can be passed in signals and use native properties and signals. Reimplement all the extending classes. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559
This commit is contained in:

committed by
Florian Müllner

parent
7059dcced3
commit
b5676a2a5c
@ -284,7 +284,7 @@ var Indicator = class extends PanelMenu.SystemIndicator {
|
||||
if (app)
|
||||
app.activate();
|
||||
});
|
||||
this._source.notify(this._notification);
|
||||
this._source.showNotification(this._notification);
|
||||
}
|
||||
|
||||
/* Session callbacks */
|
||||
|
Reference in New Issue
Block a user