FileTypes preflet: IconView was not updated properly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
AddSubDirSupportedPlatforms libbe_test ;
|
||||
|
||||
UseLibraryHeaders icon ;
|
||||
UsePrivateHeaders shared ;
|
||||
UsePrivateHeaders shared tracker ;
|
||||
SubDirSysHdrs $(HAIKU_TOP) src kits tracker ;
|
||||
|
||||
Preference FileTypes :
|
||||
|
||||
Reference in New Issue
Block a user