[Xfce4-commits] <thunar:master> Follow symlinks when listing directory contents (bug #5693).

Jannis Pohlmann jannis at xfce.org
Mon Aug 24 18:22:01 CEST 2009


Updating branch refs/heads/master
         to 01f7fc63b2883fbe96620ae6c79ef8ac23af85ff (commit)
       from 25538ae36acfd78eba9ce2311dacb1cf6a5cc550 (commit)

commit 01f7fc63b2883fbe96620ae6c79ef8ac23af85ff
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Aug 24 18:17:42 2009 +0200

    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.

 thunar/thunar-io-jobs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-io-jobs.c b/thunar/thunar-io-jobs.c
index cea44ce..3238f4f 100644
--- a/thunar/thunar-io-jobs.c
+++ b/thunar/thunar-io-jobs.c
@@ -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 */



More information about the Xfce4-commits mailing list