Skip to content
Snippets Groups Projects
Commit 01f7fc63 authored by Jannis Pohlmann's avatar Jannis Pohlmann
Browse files

Follow symlinks when listing directory contents (bug #5693).

Pass G_FILE_QUERY_INFO_NONE to thunar_io_scan_directory() instead of
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, otherwise that function is not able
to identify the type of the GFile as a G_FILE_TYPE_DIRECTORY.
parent 25538ae3
No related branches found
No related tags found
No related merge requests found
......@@ -1026,7 +1026,7 @@ _thunar_io_jobs_ls (ThunarJob *job,
/* collect directory contents (non-recursively) */
path_list = thunar_io_scan_directory (job, directory,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
G_FILE_QUERY_INFO_NONE,
FALSE, &err);
/* turn the GFile list into a ThunarFile list */
......
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