Merge from layout management branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1131,10 +1131,12 @@ AttributeView::ModelChanged(Model *model, BMessage *message)
|
||||
// watch for icon updates
|
||||
const char *attrName;
|
||||
if (message->FindString("attr", &attrName) == B_OK) {
|
||||
if (strcmp(attrName, kAttrLargeIcon) == 0)
|
||||
if (strcmp(attrName, kAttrLargeIcon) == 0
|
||||
|| strcmp(attrName, kAttrIcon) == 0) {
|
||||
Invalidate(BRect(10, 10, 10 + B_LARGE_ICON, 10 + B_LARGE_ICON));
|
||||
|
||||
if (strcmp(attrName, kAttrMIMEType) == 0) {
|
||||
} else if (strcmp(attrName, kAttrMIMEType) == 0) {
|
||||
|
||||
if (model->OpenNode() == B_OK) {
|
||||
InitStrings(model);
|
||||
model->CloseNode();
|
||||
|
||||
Reference in New Issue
Block a user