gnome-shell:wip/ewlsh/unify-app-menus

Last commit made on 2020-06-21
Get this branch:
git clone -b wip/ewlsh/unify-app-menus https://git.launchpad.net/gnome-shell

Branch merges

Branch information

Name:
wip/ewlsh/unify-app-menus
Repository:
lp:gnome-shell

Recent commits

170fe94... by Evan Welsh <email address hidden>

Initial experiment unifying app menus.

08a5f41... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

windowManager: Support prepending workspace with horizontal layouts

Commit ce35d523a2 implemented that behavior for vertical workspace layouts,
there is no reason to not allow the same for horizontal layouts.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2916

ec36762... by Carlos Garnacho

st: Add st_clipboard_get_content()

Complementing st_clipboard_set_content(), this function allows retrieving
specific mimetypes from the selection as GBytes.

Related: https://gitlab.gnome.org/GNOME/nautilus/-/issues/634

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1321

aa70020... by Georges Basile Stavracas Neto

appDisplay: Compare indicator and grid pages

In the past, the icon grid would update the number of pages
during the call to adaptToSize(). However, after the new grid
layout landed, the number of pages is updated by the time an
item is added or removed.

Instead of comparing the old and new number of pages in the
icon grid, compare the pages shown by the indicator, and the
grid pages.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

1e77e6f... by Georges Basile Stavracas Neto

pageIndicator: Add getter for current number of pages

Add a getter to PageIndicators to retrieve the number of pages
it currently displays.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

68203e7... by Georges Basile Stavracas Neto

appDisplay: Allow a slighly bigger area for drag overshoot

Now that we don't have the Frequent tab anymore, and subsequently
the buttons to switch tabs, the app grid fill all the way to the
bottom, leaving no room for drag overshoot.

Add a 20px (i.e. OVERSHOOT_THRESHOLD) area at the bottom of the
grid where dragging actually scrolls to the next page.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

cff0752... by Georges Basile Stavracas Neto

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

45d8e11... by Georges Basile Stavracas Neto

Add pagination to the folder dialog

Make the folder dialog's app grid horizontal, and add
paginators to it as well. Add a new _createGrid() method
to BaseAppView that created an IconGrid.IconGrid by
default, and make FolderView override it to return the
new FolderGrid class.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2436

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

5aee714... by Georges Basile Stavracas Neto

theme: Adjust folder dialog CSS

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271

3c3c3b7... by Georges Basile Stavracas Neto

appDisplay: Don't destroy FolderView directly

When FolderIcon is destroyed, it destroyed the FolderView and, if
there's a folder dialog present, it destroys the dialog as well.

Turns out, the folder dialog adds the icon's FolderView to itself.
The view becomes part of the dialog's actor tree. When the dialog
is destroyed, it also tries to destroy the view - but the folder
view was already destroyed by FolderIcon!

Fix that by letting the dialog destroy the folder view if it exists,
otherwise destroy the folder view directly.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1271