appDisplay: Turn navigation arrows into StButtons

Make the next and previous page arrows be StButtons, with their
'icon-name' property matching the current StIcon icon name, and
use the 'clicked' signal to switch pages.

Remove the 'button-press' callback the scroll view, since the
buttons take over this functionality.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
This commit is contained in:
Georges Basile Stavracas Neto 2022-06-28 12:39:50 -03:00 committed by Marge Bot
parent f22a5c5a91
commit 892fa6581c
2 changed files with 8 additions and 32 deletions

View file

@ -146,7 +146,7 @@ $app_icon_size: 96px;
}
}
.page-navigation-arrow {
.page-navigation-arrow > StIcon {
margin: 6px;
width: 24px;
height: 24px;