diff options
author | Ondrej Holy <oholy@redhat.com> | 2016-06-22 14:04:02 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-06-28 10:46:33 +0200 |
commit | 96771e1728017199b5e16d6c32db45e37a87d140 (patch) | |
tree | cdc4ce06276eea52c093c6b69b9f14cd22c301df /daemon/gvfsbackendafp.c | |
parent | 62d136763a6fc2e6475a934cd569382fe60d426a (diff) | |
download | gvfs-96771e1728017199b5e16d6c32db45e37a87d140.tar.gz |
daemon: Set G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attribute
Mark all network-based backends as remote. This is useful to remove
some hardcoded lists of filesystem types in GTK+.
Bump required GLib version accordingly.
Diffstat (limited to 'daemon/gvfsbackendafp.c')
-rw-r--r-- | daemon/gvfsbackendafp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendafp.c b/daemon/gvfsbackendafp.c index 090d1de9..41e6fd57 100644 --- a/daemon/gvfsbackendafp.c +++ b/daemon/gvfsbackendafp.c @@ -1820,7 +1820,7 @@ try_query_fs_info (GVfsBackend *backend, guint16 vol_bitmap = 0; g_file_info_set_attribute_string (info, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE, "afp"); - + g_file_info_set_attribute_boolean (info, G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE, TRUE); if (g_file_attribute_matcher_matches (matcher, G_FILE_ATTRIBUTE_FILESYSTEM_SIZE)) vol_bitmap |= AFP_VOLUME_BITMAP_EXT_BYTES_TOTAL_BIT; |