fc->list = g_list_remove_link(fc->list, work);
fc->list = g_list_concat(work, fc->list);
-// if (file_data_check_changed_files(fd)) /* this will eventually remove changed files from cache via file_cache_notify_cb */
-// return FALSE;
+ if (file_data_check_changed_files(fd)) /* this will eventually remove changed files from cache via file_cache_notify_cb */
+ return FALSE;
if (debug_file_cache) file_cache_dump(fc);
return TRUE;
ImageWindow *imd = data;
if (!imd || !image_get_pixbuf(imd) ||
- imd->il || !imd->image_fd ||
+ /* imd->il || */ /* loading in progress - do not check - it should start from the beginning anyway */
+ !imd->image_fd || /* nothing to reload */
+ imd->state == IMAGE_STATE_NONE || /* loading not started, no need to reload */
!options->update_on_time_change) return;
if (type == NOTIFY_TYPE_REREAD && fd == imd->image_fd)