FileTypes preflet: IconView was not updated properly

This commit is contained in:
Philippe Saint-Pierre
2012-08-09 01:28:54 -04:00
parent 11a36918ee
commit 52b530a507
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -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;
} }
+1 -1
View File
@@ -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 :