FileTypes preflet: IconView was not updated properly
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
#include <AppFileInfo.h>
|
#include <AppFileInfo.h>
|
||||||
|
#include <Attributes.h>
|
||||||
#include <Bitmap.h>
|
#include <Bitmap.h>
|
||||||
#include <Catalog.h>
|
#include <Catalog.h>
|
||||||
#include <IconEditorProtocol.h>
|
#include <IconEditorProtocol.h>
|
||||||
@@ -616,7 +617,9 @@ IconView::MessageReceived(BMessage* message)
|
|||||||
if (message->FindString("attr", &name) != B_OK)
|
if (message->FindString("attr", &name) != B_OK)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (!strcmp(name, "BEOS:L:STD_ICON"))
|
if (!strcmp(name, kAttrMiniIcon)
|
||||||
|
|| !strcmp(name, kAttrLargeIcon)
|
||||||
|
|| !strcmp(name, kAttrIcon))
|
||||||
Update();
|
Update();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ SetSubDirSupportedPlatformsBeOSCompatible ;
|
|||||||
AddSubDirSupportedPlatforms libbe_test ;
|
AddSubDirSupportedPlatforms libbe_test ;
|
||||||
|
|
||||||
UseLibraryHeaders icon ;
|
UseLibraryHeaders icon ;
|
||||||
UsePrivateHeaders shared ;
|
UsePrivateHeaders shared tracker ;
|
||||||
SubDirSysHdrs $(HAIKU_TOP) src kits tracker ;
|
SubDirSysHdrs $(HAIKU_TOP) src kits tracker ;
|
||||||
|
|
||||||
Preference FileTypes :
|
Preference FileTypes :
|
||||||
|
|||||||
Reference in New Issue
Block a user