diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2018-06-07 19:55:45 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2018-07-26 04:18:53 +0200 |
commit | 99f55748ef69a68df86b9a039998ee576d59b898 (patch) | |
tree | ad172cccf31ee49cedbbe4d9facb88b41e450ed0 /src/nautilus-file.h | |
parent | feadc9fee9489ee358fb70c648ca0396dbf0086f (diff) | |
download | nautilus-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.h | 2 |
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. */ |