diff options
Diffstat (limited to 'libnautilus-private/nautilus-file.h')
-rw-r--r-- | libnautilus-private/nautilus-file.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file.h b/libnautilus-private/nautilus-file.h index ca97c7506..4c2645ab5 100644 --- a/libnautilus-private/nautilus-file.h +++ b/libnautilus-private/nautilus-file.h @@ -208,6 +208,7 @@ gboolean nautilus_file_is_executable (Nautilu gboolean nautilus_file_is_directory (NautilusFile *file); gboolean nautilus_file_is_user_special_directory (NautilusFile *file, GUserDirectory special_directory); +gboolean nautilus_file_is_special_link (NautilusFile *file); gboolean nautilus_file_is_archive (NautilusFile *file); gboolean nautilus_file_is_in_search (NautilusFile *file); gboolean nautilus_file_is_in_trash (NautilusFile *file); @@ -608,6 +609,11 @@ typedef struct { NautilusFileAttributes file_attributes); gboolean (* opens_in_view) (NautilusFile *file); + + /* Use this if the custom file class doesn't support usual operations like + * copy, delete or move. + */ + gboolean (* is_special_link) (NautilusFile *file); } NautilusFileClass; #endif /* NAUTILUS_FILE_H */ |