notifications: Add buttons to Calendar.NotificationMessage via actions

Since we also want to show the buttons in the calendar move the
code to add buttons/actions from `MessageTray.NotificationBanner` to
`Calendar.NotificationMessage`.

As nothing uses custom buttons that aren't backed by actions anymore,
remove that bit of the public API.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7099
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173>
This commit is contained in:
Julian Sparber 2024-02-21 12:07:10 +01:00 committed by Florian Müllner
parent 7ff5f4ea51
commit d44adf3b78
4 changed files with 71 additions and 87 deletions

View file

@ -14,12 +14,12 @@ $notification_banner_width: 34em;
@if $contrast == 'high' {
@include draw_hc_inset();
}
.notification-actions {
spacing: 0;
}
.notification-button {
@extend %bubble_button;
}
}
.notification-buttons-bin {
spacing: 0;
}
.notification-button {
@extend %bubble_button;
}