file: add API to get the thumbnail path

This commit is contained in:
Cosimo Cecchi 2012-09-05 20:58:12 -04:00
parent 41714d9877
commit c68654c1a0
2 changed files with 7 additions and 0 deletions

View file

@ -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,

View file

@ -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);