diff src/filedata.c @ 945:fd84847c8231

speed-up of directory notification on deleting large number of files
author nadvornik
date Sun, 27 Jul 2008 13:46:24 +0000
parents 0f243d361ed2
children e3ca16c68ebd
line wrap: on
line diff
--- a/src/filedata.c	Sun Jul 27 09:51:28 2008 +0000
+++ b/src/filedata.c	Sun Jul 27 13:46:24 2008 +0000
@@ -235,6 +235,7 @@
 		{
 		fd->size = st->st_size;
 		fd->date = st->st_mtime;
+		fd->mode = st->st_mode;
 		if (fd->thumb_pixbuf) g_object_unref(fd->thumb_pixbuf);
 		fd->thumb_pixbuf = NULL;
 		file_data_increment_version(fd);
@@ -351,6 +352,7 @@
 
 	fd->size = st->st_size;
 	fd->date = st->st_mtime;
+	fd->mode = st->st_mode;
 	fd->thumb_pixbuf = NULL;
 	fd->sidecar_files = NULL;
 	fd->ref = 1;