* Tracker wrote icons with the wrong type at several places.
* Also replaced all B_COLOR_8_BIT with the B_CMAP8 constant. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16909 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -158,8 +158,8 @@ TTracker::InstallMimeIfNeeded(const char *type, int32 bitsID,
|
||||
// whole mime type is installed and all attributes are set; nulls can
|
||||
// be passed for attributes that don't matter; returns true if anything
|
||||
// had to be changed
|
||||
BBitmap largeIcon(BRect(0, 0, 31, 31), B_COLOR_8_BIT);
|
||||
BBitmap miniIcon(BRect(0, 0, 15, 15), B_COLOR_8_BIT);
|
||||
BBitmap largeIcon(BRect(0, 0, 31, 31), B_CMAP8);
|
||||
BBitmap miniIcon(BRect(0, 0, 15, 15), B_CMAP8);
|
||||
char tmp[B_MIME_TYPE_LENGTH];
|
||||
|
||||
BMimeType mime(type);
|
||||
|
||||
Reference in New Issue
Block a user