Skip to content

Commit fe7ff59

Browse files
committed
nemo-file.c: Fix refresh removing existing thumbnails.
The thumbnail files were being removed, and were being refreshed, but the in-memory pixbuf wasn't getting cleared.
1 parent 0c8c673 commit fe7ff59

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

libnemo-private/nemo-file.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4330,7 +4330,9 @@ nemo_file_delete_thumbnail (NemoFile *file)
43304330

43314331
gint success;
43324332

4333-
invalidate_thumbnail (file);
4333+
nemo_file_invalidate_attributes (file, NEMO_FILE_ATTRIBUTE_THUMBNAIL);
4334+
g_clear_object (&file->details->thumbnail);
4335+
43344336
success = g_unlink (file->details->thumbnail_path);
43354337

43364338
if (success != 0) {

0 commit comments

Comments
 (0)