Skip to content
Snippets Groups Projects
Commit 82e87157 authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Fix thumbnailer symlink support (#1260)

(cherry picked from commit a9d9cb30)
parent 190f44df
No related branches found
No related tags found
No related merge requests found
......@@ -438,8 +438,8 @@ thunar_thumbnailer_begin_job (ThunarThumbnailer *thumbnailer,
* processed (and awaiting to be refreshed) */
for (lp = job->files; lp != NULL; lp = lp->next)
{
/* the icon factory only loads icons for regular files and folders */
if (!thunar_file_is_regular (lp->data) && !thunar_file_is_directory (lp->data))
/* the icon factory only loads icons for regular files, symlinks and folders */
if (!thunar_file_is_regular (lp->data) && !thunar_file_is_directory (lp->data) && !thunar_file_is_symlink (lp->data))
{
thunar_file_set_thumb_state (lp->data, THUNAR_FILE_THUMB_STATE_NONE);
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment