nautilus:wip/corey/sushi-handle

Last commit made on 2023-07-01
Get this branch:
git clone -b wip/corey/sushi-handle https://git.launchpad.net/nautilus

Branch merges

Branch information

Name:
wip/corey/sushi-handle
Repository:
lp:nautilus

Recent commits

12bd7b7... by Corey Berla

previewer: Respond to selection events on actual window

SelectionEvent's (pushing arrow keys from the previewer window), are
emitted to all subscribers of the signal. When there's one instance
of Nautilus with a single window, this is not a problem. But when
there's multiple instances (i.e. Nautilus nightly and Nautilus, or
another subscriber to NautilusPreviewer2), the SelectionEvents
get consumed by all subscribers even though they probably don't
expect it.

This issue can be solved with the new ParentHandle property of
NautilusPreviewer2 which returns the parent window of the previewer
window. Only respond to the SelectionEvent if the ParentHandle
exists in this instance of Nautilus.

57ca4a7... by Ondrej Holy

placessidebar: Always show action to stop drive when available

The "Safely Remove Drive" action is currently not shown when the
volume is mounted. This is regression from the commit gtk@60d28132.
Let's show this action again even when the volume is mounted.

Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/2550

dde4ec1... by Ondrej Holy

sidebar: Hide format for unmounted MTP/GPhoto2 volumes

Currently, the Format action is offered also for the MTP volumes when
they are unmounted. This is a regression from the commit ab1d3019. This
is because the `uri` variable is `NULL` for unmounted volumes. This
amoung other causes critical warnings when opening popover menu for
unmounted volumes. Let's check that the activation root is native file
instead to avoid the mention issue. This will also correctly hide the
Format action also for GPhoto2 devices that are mentioned in the original
commit, but unhandled currently.

5331a63... by Corey Berla

flatpak: Build without vala bindings

vala bindings were removed in [1] which is causing out pipelines to
fail. We don't need them anyways, so disable the build options for
libportal and libcloudproviders.

[1] https://gitlab.gnome.org/GNOME/gnome-build-meta/-/commit/6a9ed593d318476bb8950ae670ecfabda3c82b21

ed6c79e... by Ondrej Holy

sidebar: Make cloudproviders dependency optional again

This partially reverts commit 673e6b157a125e321049d4abea3bb5a6ddc7570e.
It turns out that the cloudproviders dependency is not desired for RHEL.

9154c3f... by =?utf-8?q?Ant=C3=B3nio_Fernandes?= <email address hidden>

mime-actions: Don't crash on sandboxed launch

I've added g_steal_pointer() to clearly indicate that the callback
takes ownership. However, the same call where this pointer is stolen
also dereferences it for other 2 parameters (parent window and the
cancellable).

So, use a comment instead and pass the pointer directly without
clearing the local variable.

Fixes bug introduced by commit 24bb7b818a7458501afeddef26336e4b1e023dfb

7c760d4... by Khalid Abu Shawarib

placessidebar: Don't refresh when there's selection

a9e3ee8... by Khalid Abu Shawarib

query-editor: Select All text when using search shortcut

Change the `focus-search` action behavior to select all text when
a search refocusing action occurs so it's easier to type a new query.

Fixes https://gitlab.gnome.org/GNOME/nautilus/-/issues/2819

eedb347... by Khalid Abu Shawarib

window-slot: Change search shortcut to not close search slot

Change search shortcut to a new `focus-search` action to always
refocus on search bar instead of closing it if it's already open.

Partially fixes for https://gitlab.gnome.org/GNOME/nautilus/-/issues/2819

4c8d18f... by =?utf-8?q?Ant=C3=B3nio_Fernandes?= <email address hidden>

mime-actions: Cleanup includes

Header has no use for i18n functions, but place-view.c was incorrectly
relying on this indirect inclusion.