Georges Basile Stavracas Neto cff0752bcc appDisplay: Factor out shared code into BaseAppView
The two BaseAppView subclasses now share a lot in terms of
widgetry: they both have a scroll view, pagination dots, swipe
management, etc.

Move this shared code into BaseAppView. Notice, however, that
BaseAppView only creates the widgetry, but it doesn't add them
to any specific layout. FolderView arranges the widgetry in a
vertical box, while AppDisplay arranges it in a ShellStack.

Add a new 'orientation' parameter to BaseAppView and use it
to determine the orientation of the pagination dots, the swipe
tracker direction, and the scroll event handling.

It is worth noticing that the scroll event is a bit more
sophisticated now: when the orientation is horizontal, it
handles all directions since mice wheels usually only generate
up/down events.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271
2020-06-18 10:54:31 -03:00
..
2020-06-03 12:55:53 -03:00
2020-05-20 15:12:03 +02:00
2020-04-06 11:24:30 -03:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-06-06 01:04:09 +02:00
2020-06-03 12:55:53 -03:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00
2020-03-31 05:43:40 +00:00
2019-11-11 19:25:14 +00:00
2020-03-27 10:39:58 +01:00
2020-06-03 12:55:53 -03:00
2020-05-20 15:12:03 +02:00
2020-05-20 15:12:03 +02:00