https://bugzilla.xfce.org/show_bug.cgi?id=16688

--- Comment #17 from Cyrille Pontvieux <[email protected]> ---
Ok I made some tests (fuse mounts, USB disk mounts, PTP mounts, MTP mounts,
Samba mounts, and local files on different partitions).

`g_file_find_enclosing_mount` returns a non-NULL gmount only for attached
devices ; for local files it returns NULL.
Then a test on `g_mount_can_unmount` could be done. Of course
`thunar_file_is_local` should be done first.

I think by mixing all of these, the UX could be satisfactory. I will come with
a new commit today or tomorrow with this idea.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to