[shotwell/shotwell-0.30] Make import follow symlinks



commit 0f4b3664a69eafaa64692b4bd0e48a9f956cefa2
Author: Jens Georg <mail jensge org>
Date:   Wed Sep 7 22:49:56 2022 +0200

    Make import follow symlinks
    
    Fixes #4984

 src/util/file.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/util/file.vala b/src/util/file.vala
index 32b77620..c1ee06d7 100644
--- a/src/util/file.vala
+++ b/src/util/file.vala
@@ -159,7 +159,7 @@ public time_t query_file_modified(File file) throws Error {
 }
 
 public bool query_is_directory(File file) {
-    return file.query_file_type(FileQueryInfoFlags.NOFOLLOW_SYMLINKS, null) == FileType.DIRECTORY;
+    return file.query_file_type(FileQueryInfoFlags.NONE, null) == FileType.DIRECTORY;
 }
 
 public bool query_is_directory_empty(File dir) throws Error {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]