messageTray: Don't show expand button for notification banner

Currently we expand banners on hover, it's odd that there is also an
expand button the user doesn't have to click.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7479
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3249>
This commit is contained in:
Julian Sparber
2024-03-19 14:06:38 +01:00
committed by Marge Bot
parent 4363753a3f
commit 8df0ccd090

View File

@ -1107,6 +1107,7 @@ export const MessageTray = GObject.registerClass({
this._banner = new Calendar.NotificationMessage(this._notification);
this._banner.can_focus = false;
this._banner._header.expandButton.visible = false;
this._banner.add_style_class_name('notification-banner');
this._bannerBin.add_child(this._banner);