mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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:
parent
4363753a3f
commit
8df0ccd090
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue