nautilus/nautilus-filetype-symlink-fix.patch

14 lines
496 B
Diff
Raw Normal View History

Index: libnautilus-private/nautilus-file.c
===================================================================
--- libnautilus-private/nautilus-file.c (revision 14183)
+++ libnautilus-private/nautilus-file.c (working copy)
@@ -1613,7 +1619,7 @@
}
}
- is_symlink = g_file_info_get_is_symlink (info);
+ is_symlink = g_file_info_get_is_symlink (info) || (g_file_info_get_file_type (info) == G_FILE_TYPE_SYMBOLIC_LINK);
if (file->details->is_symlink != is_symlink) {
changed = TRUE;
}