comparison 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
comparison
equal deleted inserted replaced
973:ad2ff9608beb 974:c466b8fabcc3
721 case UTILITY_TYPE_CREATE_FOLDER: 721 case UTILITY_TYPE_CREATE_FOLDER:
722 { 722 {
723 if ((internal && mkdir_utf8(ud->dir_fd->path, 0755)) || 723 if ((internal && mkdir_utf8(ud->dir_fd->path, 0755)) ||
724 (!internal && ext_result)) 724 (!internal && ext_result))
725 { 725 {
726 file_data_increment_version(ud->dir_fd); 726 file_data_check_changed_files(ud->dir_fd); /* this will update the FileData and send notification */
727 file_data_send_notification(ud->dir_fd, NOTIFY_TYPE_REREAD);
728 } 727 }
729 else 728 else
730 { 729 {
731 gchar *text; 730 gchar *text;
732 GenericDialog *gd; 731 GenericDialog *gd;