FileTypes preflet: IconView was not updated properly

This commit is contained in:
Philippe Saint-Pierre 2012-08-08 23:46:18 -04:00
parent 11a36918ee
commit 52b530a507
2 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,7 @@
#include <Application.h>
#include <AppFileInfo.h>
#include <Attributes.h>
#include <Bitmap.h>
#include <Catalog.h>
#include <IconEditorProtocol.h>
@ -616,7 +617,9 @@ IconView::MessageReceived(BMessage* message)
if (message->FindString("attr", &name) != B_OK)
break;
if (!strcmp(name, "BEOS:L:STD_ICON"))
if (!strcmp(name, kAttrMiniIcon)
|| !strcmp(name, kAttrLargeIcon)
|| !strcmp(name, kAttrIcon))
Update();
break;
}

View File

@ -4,7 +4,7 @@ SetSubDirSupportedPlatformsBeOSCompatible ;
AddSubDirSupportedPlatforms libbe_test ;
UseLibraryHeaders icon ;
UsePrivateHeaders shared ;
UsePrivateHeaders shared tracker ;
SubDirSysHdrs $(HAIKU_TOP) src kits tracker ;
Preference FileTypes :