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>
(cherry picked from commit 2c43225575)
This commit is contained in:
Florian Müllner 2024-05-09 13:47:24 +02:00
parent 86ed75b92d
commit 6dde8b9471
No known key found for this signature in database

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) {