mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
file: add API to get the thumbnail path
This commit is contained in:
parent
41714d9877
commit
c68654c1a0
2 changed files with 7 additions and 0 deletions
|
@ -4216,6 +4216,12 @@ get_default_file_icon (NautilusFileIconFlags flags)
|
|||
}
|
||||
}
|
||||
|
||||
char *
|
||||
nautilus_file_get_thumbnail_path (NautilusFile *file)
|
||||
{
|
||||
return g_strdup (file->details->thumbnail_path);
|
||||
}
|
||||
|
||||
NautilusIconInfo *
|
||||
nautilus_file_get_icon (NautilusFile *file,
|
||||
int size,
|
||||
|
|
|
@ -166,6 +166,7 @@ NautilusFile * nautilus_file_get_parent (Nautilu
|
|||
GFile * nautilus_file_get_parent_location (NautilusFile *file);
|
||||
char * nautilus_file_get_parent_uri (NautilusFile *file);
|
||||
char * nautilus_file_get_parent_uri_for_display (NautilusFile *file);
|
||||
char * nautilus_file_get_thumbnail_path (NautilusFile *file);
|
||||
gboolean nautilus_file_can_get_size (NautilusFile *file);
|
||||
goffset nautilus_file_get_size (NautilusFile *file);
|
||||
time_t nautilus_file_get_mtime (NautilusFile *file);
|
||||
|
|
Loading…
Reference in a new issue