[shotwell] Make import follow symlinks
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Make import follow symlinks
- Date: Wed, 7 Sep 2022 20:50:22 +0000 (UTC)
commit c319cfeb4c49f65d342e3b5838411cdd4fc2390d
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 838a0278..595d544e 100644
--- a/src/util/file.vala
+++ b/src/util/file.vala
@@ -163,7 +163,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]