GNOME Bugzilla – Bug 767963
Add G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attribute
Last modified: 2016-06-28 08:42:52 UTC
Created attachment 330233 [details] [review] fileinfo: Add G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attribute 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 330233 [details] [review]: looks ok to me
Comment on attachment 330233 [details] [review] fileinfo: Add G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attribute Thanks for the review, pushed as commit e57355b.