update the FileData structure when a new folder is created
authorVladimir Nadvornik <nadvornik@suse.cz>
Wed, 20 Aug 2008 20:36:36 +0000 (20:36 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Wed, 20 Aug 2008 20:36:36 +0000 (20:36 +0000)
src/utilops.c

index 4538265..1bee25a 100644 (file)
@@ -723,8 +723,7 @@ static void file_util_perform_ci_dir(UtilityData *ud, gboolean internal, gboolea
                        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
                                {