Support drag and drop to gvfs drives, fixes #1140

This commit is contained in:
Jeremy Soller 2025-08-15 11:27:33 -06:00
parent be67fd8e0d
commit a6f0d898ce
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA

View file

@ -3853,7 +3853,9 @@ impl Tab {
Message::Drop(Some((to, mut from))) => {
self.dnd_hovered = None;
match to {
Location::Desktop(to, ..) | Location::Path(to) => {
Location::Desktop(to, ..)
| Location::Path(to)
| Location::Network(_, _, Some(to)) => {
if let Ok(entries) = fs::read_dir(&to) {
for i in entries.into_iter().filter_map(|e| e.ok()) {
let i = i.path();