fileinfo: Add G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE attribute

Add filesystem attribute to detect remote filesystems in order to
replace hardcoded filesystem types in GtkFileSystem. Set this attribute
also for GLocalFile appropriately.

Bump version to 2.49.3, so that early adopters of new API have a version
number to target.
This commit is contained in:
Ondrej Holy
2016-06-22 14:03:57 +02:00
parent f4b5dc30a7
commit e57355b055
4 changed files with 16 additions and 1 deletions

View File

@@ -326,6 +326,7 @@ G_FILE_ATTRIBUTE_FILESYSTEM_FREE
G_FILE_ATTRIBUTE_FILESYSTEM_USED
G_FILE_ATTRIBUTE_FILESYSTEM_TYPE
G_FILE_ATTRIBUTE_FILESYSTEM_READONLY
G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE
G_FILE_ATTRIBUTE_GVFS_BACKEND
G_FILE_ATTRIBUTE_SELINUX_CONTEXT
G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT