summaryrefslogtreecommitdiff
path: root/src/nautilus-file.h
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2018-06-07 19:55:45 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2018-07-26 04:18:53 +0200
commit99f55748ef69a68df86b9a039998ee576d59b898 (patch)
treead172cccf31ee49cedbbe4d9facb88b41e450ed0 /src/nautilus-file.h
parentfeadc9fee9489ee358fb70c648ca0396dbf0086f (diff)
downloadnautilus-99f55748ef69a68df86b9a039998ee576d59b898.tar.gz
file: Also use FS remote attribute in is_remote
Gio can provide us this info, so we can use this together with the checks nautilus already does. However, since there are many false-positives cases (like when using a fuse filesystem that is actually a remote mount, like sshfs or similar), we can't take this information as granted.
Diffstat (limited to 'src/nautilus-file.h')
-rw-r--r--src/nautilus-file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nautilus-file.h b/src/nautilus-file.h
index 0eb5b3a96..8fce62505 100644
--- a/src/nautilus-file.h
+++ b/src/nautilus-file.h
@@ -248,6 +248,8 @@ char * nautilus_file_get_filesystem_id (Nautilu
char * nautilus_file_get_filesystem_type (NautilusFile *file);
+gboolean nautilus_file_get_filesystem_remote (NautilusFile *file);
+
NautilusFile * nautilus_file_get_trash_original_file (NautilusFile *file);
/* Permissions. */