a544846258
(gnomebz #377157) - Add fix preventing crash on bad GFileInfos (gnomebz #519743)
14 lines
496 B
Diff
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;
|
|
}
|