GNOME Bugzilla – Bug 767965
Improve heuristics to detect remote filesystem
Last modified: 2016-06-28 09:04:11 UTC
Created attachment 330235 [details] [review] gtkfilesystem: Improve heuristics to detect remote filesystem GTK+ contains helper function _gtk_file_consider_as_remote for remote locations, which is based on hardcoded list of filesystem types: https://git.gnome.org/browse/gtk+/tree/gtk/gtkfilesystem.c#n905 It would be really nice to provide this information directly from GIO layer and do not use hardcoded lists as suggested by Matthias: https://bugzilla.gnome.org/show_bug.cgi?id=754746#c3 Let's add/set/use G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE for this need. I tested the patches successfully using gtk+/tests/testfilechooser.
Review of attachment 330235 [details] [review]: Looks fine, once the support for this attribute in gio and gvfs.
Comment on attachment 330235 [details] [review] gtkfilesystem: Improve heuristics to detect remote filesystem Thanks, pushed as commit 0c1cc98.