Turns out Fredrik was right and the icon type is an officially registered MIME type.
Changed the ICOTranslator accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17465 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -44,7 +44,7 @@ ConfigView::ConfigView(const BRect &frame, uint32 resize, uint32 flags)
|
|||||||
height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
|
height = fontHeight.descent + fontHeight.ascent + fontHeight.leading;
|
||||||
|
|
||||||
rect.OffsetBy(0, height + 5);
|
rect.OffsetBy(0, height + 5);
|
||||||
stringView = new BStringView(rect, "copyright", B_UTF8_COPYRIGHT "2005 Haiku Inc.");
|
stringView = new BStringView(rect, "copyright", B_UTF8_COPYRIGHT "2005-2006 Haiku Inc.");
|
||||||
stringView->ResizeToPreferred();
|
stringView->ResizeToPreferred();
|
||||||
AddChild(stringView);
|
AddChild(stringView);
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
|
* Copyright 2005-2006, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
const char *kDocumentCount = "/documentCount";
|
const char *kDocumentCount = "/documentCount";
|
||||||
const char *kDocumentIndex = "/documentIndex";
|
const char *kDocumentIndex = "/documentIndex";
|
||||||
|
|
||||||
#define kICOMimeType "image/x-icon"
|
#define kICOMimeType "image/vnd.microsoft.icon"
|
||||||
// I'm lazy - structure initializers don't like const variables...
|
// I'm lazy - structure initializers don't like const variables...
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
|
* Copyright 2005-2006, Axel Dörfler, [email protected]. All rights reserved.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -9,12 +9,7 @@
|
|||||||
|
|
||||||
#include "TranslatorWindow.h"
|
#include "TranslatorWindow.h"
|
||||||
#include <Application.h>
|
#include <Application.h>
|
||||||
/*
|
|
||||||
#include <TranslatorRoster.h>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
*/
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int /*argc*/, char **/*argv*/)
|
main(int /*argc*/, char **/*argv*/)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||||
|
|
||||||
resource(1, "META:TYPE") "image/x-icon";
|
resource(1, "META:TYPE") "image/vnd.microsoft.icon";
|
||||||
|
|
||||||
resource(2, "META:SNIFF_RULE") "0.50 (\"\\000\\000\\001\\000\" | \"\\000\\000\\002\\000\")";
|
resource(2, "META:SNIFF_RULE") "0.50 (\"\\000\\000\\001\\000\" | \"\\000\\000\\002\\000\")";
|
||||||
|
|
||||||
@@ -9,5 +9,5 @@ resource(3, "META:S:DESC") #'MSDC' "Windows Icon";
|
|||||||
|
|
||||||
resource(4, "META:EXTENS") message(234) {
|
resource(4, "META:EXTENS") message(234) {
|
||||||
"extensions" = "ico",
|
"extensions" = "ico",
|
||||||
"type" = "image/x-icon"
|
"type" = "image/vnd.microsoft.icon"
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user