Skip to content

Do not navigate into trash when dropping files directly

Ghost User requested to merge (removed):gnome-2807 into master

src/gtk/nautilusgtkplacessidebar.c: Do not navigate into trash when dropping files directly

When the user drags some files and hovers above a pinned location on the left panel, Files navigates into the location. This is not necessary for trash, because the user can't drag-and-drop the files into a sub-directory inside it.

Also, when the file is dropped the row keeps highlighted.

This change:

  • Prevents navigating into trash when dropping files directly into the side bar
  • Removes the highlight from the row when the file is dropped

Fixes #2831 (closed)

Edited by Ghost User

Merge request reports