Tracker now also sets the preferred application when installing the Person
MIME type to the People app. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18971 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -83,6 +83,7 @@ const char *kAttrGroup = "META:group";
|
|||||||
const char *kAttrNickname = "META:nickname";
|
const char *kAttrNickname = "META:nickname";
|
||||||
|
|
||||||
const char *kNetPositiveSignature = "application/x-vnd.Be-NPOS";
|
const char *kNetPositiveSignature = "application/x-vnd.Be-NPOS";
|
||||||
|
const char *kPeopleSignature = "application/x-vnd.Be-PEPL";
|
||||||
|
|
||||||
namespace BPrivate {
|
namespace BPrivate {
|
||||||
|
|
||||||
@@ -267,8 +268,8 @@ TTracker::InitMimeTypes()
|
|||||||
}
|
}
|
||||||
|
|
||||||
InstallMimeIfNeeded(B_PERSON_MIMETYPE, kResPersonIcon,
|
InstallMimeIfNeeded(B_PERSON_MIMETYPE, kResPersonIcon,
|
||||||
"Person", "Contact information for a person.", 0);
|
"Person", "Contact information for a person.", kPeopleSignature);
|
||||||
|
|
||||||
{
|
{
|
||||||
ExtraAttributeLazyInstaller installer(B_PERSON_MIMETYPE);
|
ExtraAttributeLazyInstaller installer(B_PERSON_MIMETYPE);
|
||||||
installer.AddExtraAttribute("Contact Name", kAttrName, B_STRING_TYPE, true, true,
|
installer.AddExtraAttribute("Contact Name", kAttrName, B_STRING_TYPE, true, true,
|
||||||
|
|||||||
Reference in New Issue
Block a user