some more forgotten places for B_VECTOR_ICON_TYPE
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19229 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e0c6ab6012
commit
15e5a8b1e9
@ -2156,10 +2156,10 @@ FSGetDeskDir(BDirectory *deskDir, dev_t dev)
|
||||
deskDir->WriteAttr(kAttrMiniIcon, 'MICN', 0, data, size);
|
||||
|
||||
data = GetTrackerResources()->
|
||||
LoadResource(B_RAW_TYPE, kResDeskIcon, &size);
|
||||
LoadResource(B_VECTOR_ICON_TYPE, kResDeskIcon, &size);
|
||||
|
||||
if (data)
|
||||
deskDir->WriteAttr(kAttrIcon, B_RAW_TYPE, 0, data, size);
|
||||
deskDir->WriteAttr(kAttrIcon, B_VECTOR_ICON_TYPE, 0, data, size);
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
@ -2658,9 +2658,9 @@ FSCreateTrashDirs()
|
||||
data, size);
|
||||
}
|
||||
data = GetTrackerResources()->
|
||||
LoadResource(B_RAW_TYPE, kResTrashIcon, &size);
|
||||
LoadResource(B_VECTOR_ICON_TYPE, kResTrashIcon, &size);
|
||||
if (data) {
|
||||
trashDir.WriteAttr(kAttrIcon, B_RAW_TYPE, 0,
|
||||
trashDir.WriteAttr(kAttrIcon, B_VECTOR_ICON_TYPE, 0,
|
||||
data, size);
|
||||
}
|
||||
}
|
||||
|
@ -177,9 +177,8 @@ BTrashWatcher::UpdateTrashIcons()
|
||||
if (vectorData)
|
||||
trashDir.WriteAttr(kAttrIcon, B_VECTOR_ICON_TYPE, 0,
|
||||
vectorData, vectorSize);
|
||||
// TODO: enable me once the vector icon is indeed in the resources
|
||||
// else
|
||||
// TRESPASS();
|
||||
else
|
||||
TRESPASS();
|
||||
#endif
|
||||
|
||||
if (largeData)
|
||||
|
Loading…
Reference in New Issue
Block a user