changeset 974:c466b8fabcc3

update the FileData structure when a new folder is created
author nadvornik
date Wed, 20 Aug 2008 20:36:36 +0000
parents ad2ff9608beb
children 8c6a8002b1d5
files src/utilops.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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
 				{