diff src/utilops.c @ 974:c466b8fabcc3

update the FileData structure when a new folder is created
author nadvornik
date Wed, 20 Aug 2008 20:36:36 +0000
parents 368643594bc8
children 6ca2c5fd7b13
line wrap: on
line diff
--- a/src/utilops.c	Tue Aug 19 22:58:31 2008 +0000
+++ b/src/utilops.c	Wed Aug 20 20:36:36 2008 +0000
@@ -723,8 +723,7 @@
 			if ((internal && mkdir_utf8(ud->dir_fd->path, 0755)) ||
 			    (!internal && ext_result))
 				{
-				file_data_increment_version(ud->dir_fd);
-				file_data_send_notification(ud->dir_fd, NOTIFY_TYPE_REREAD);
+				file_data_check_changed_files(ud->dir_fd); /* this will update the FileData and send notification */
 				}
 			else
 				{