nautilus/nautilus-filetype-symlink-fix.patch
Tomas Bzatek a544846258 - Add DnD support to drop files onto archive files with help of file-roller
(gnomebz #377157)
- Add fix preventing crash on bad GFileInfos (gnomebz #519743)
2008-05-30 09:14:49 +00:00

14 lines
496 B
Diff

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;
}