nautilus:wip/corey/dnd_features

Last commit made on 2022-09-01
Get this branch:
git clone -b wip/corey/dnd_features https://git.launchpad.net/nautilus

Branch merges

Branch information

Name:
wip/corey/dnd_features
Repository:
lp:nautilus

Recent commits

dbeab93... by Corey Berla

dnd: Remove already removed code from headers

4d9906b... by Corey Berla

files-view-dnd: Remove code for NETSCAPE_URL

This logic is handled within GtkDropTarget in gtk4.

1aca129... by Corey Berla

dnd: Allow GDK_ACTION_COPY within the same folder

We are setting the preferred action to 0 when the source and dest are
in the same folder. This prevents the ability to hold CTRL and perform
a copy operation (which worked in 42). It isn't clear why you can't
override a 0 preferred action with key modifiers.

In order to keep consistency, remove this check in
nautilus_dnd_get_preferred_action() and add it to
nautilus_files_view_drop_proxy_received_uris() (only if the action
is MOVE).

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

96ff171... by Corey Berla

files-view-dnd: Stop leaking container_uri

2bed5ad... by Corey Berla

list-base: Fix hotspot for DnD drag icon

We use a fixed size drag icon so we need to scale the drag icon
accordingly. The hotspot doesn't make sense for listview,
and can produce very strange results, so simply set to 0,0.

0a9f185... by Corey Berla

dnd: Expose NAUTILUS_DRAG_SURFACE_ICON_SIZE

381276b... by Corey Berla

list-base: Move nautilus_list_base_get_icon_size() up for reuse

a6d2865... by Corey Berla

files-view: Add Unstar back to file context menu when in Starred folder

Now we have another way to star files (by DnD), but unstarring is
limitted to the properties window and the listview icon. Add back
the ability to unstar from the files context menu only when in the
starred folder.

a88ad1e... by Corey Berla

dnd: Allow dropping to starred directory

f8270f7... by Corey Berla

file-operations: Allow starring files for COPY operations

If the operation is COPY and it's to the starred directory
simply star the files. This allows us to DnD to starred.