messageTray: Notify count when adding a notification

Adding a notification clearly constitutes a count change, but
the notify call was accidentally dropped during the overhaul
of the notification API.

Fixes: 34f05b075b ("messageTray: Let the tray decide whether to show a
banner")

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3308>
This commit is contained in:
Florian Müllner 2024-05-09 13:47:24 +02:00
parent 50a011a19d
commit 2c43225575

View File

@ -572,6 +572,7 @@ export const Source = GObject.registerClass({
this.emit('notification-added', notification);
this.emit('notification-request-banner', notification);
this.countUpdated();
}
destroy(reason) {