Tracker: Thumbnail attribute changes should cause an icon refresh.

This way, a full mimeset need not be run to trigger an icon update,
and also other applications can write thumbnails and trigger updates.
This commit is contained in:
Augustin Cavalier 2022-04-26 14:44:12 -04:00
parent 5192c3bfff
commit 6750cef9ca
1 changed files with 2 additions and 1 deletions

View File

@ -898,7 +898,8 @@ Model::AttrChanged(const char* attrName)
if (attrName != NULL
&& (strcmp(attrName, kAttrIcon) == 0
|| strcmp(attrName, kAttrMiniIcon) == 0
|| strcmp(attrName, kAttrLargeIcon) == 0)) {
|| strcmp(attrName, kAttrLargeIcon) == 0
|| strcmp(attrName, kAttrThumbnail) == 0)) {
return true;
}