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:
Axel Dörfler 2006-09-28 15:54:22 +00:00
parent 8b4fbcf3ad
commit 8cebe02569
1 changed files with 3 additions and 2 deletions

View File

@ -83,6 +83,7 @@ const char *kAttrGroup = "META:group";
const char *kAttrNickname = "META:nickname";
const char *kNetPositiveSignature = "application/x-vnd.Be-NPOS";
const char *kPeopleSignature = "application/x-vnd.Be-PEPL";
namespace BPrivate {
@ -267,8 +268,8 @@ TTracker::InitMimeTypes()
}
InstallMimeIfNeeded(B_PERSON_MIMETYPE, kResPersonIcon,
"Person", "Contact information for a person.", 0);
"Person", "Contact information for a person.", kPeopleSignature);
{
ExtraAttributeLazyInstaller installer(B_PERSON_MIMETYPE);
installer.AddExtraAttribute("Contact Name", kAttrName, B_STRING_TYPE, true, true,