From 8df0ccd0904dbb836a6cdb54a157173b37236100 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Tue, 19 Mar 2024 14:06:38 +0100 Subject: [PATCH] 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: --- js/ui/messageTray.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 1a9ac6655..00a2a9b66 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -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);