From 8cebe02569a3bb6e7ce34cc19fbd8f61181813bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 28 Sep 2006 15:54:22 +0000 Subject: [PATCH] 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 --- src/kits/tracker/TrackerInitialState.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/kits/tracker/TrackerInitialState.cpp b/src/kits/tracker/TrackerInitialState.cpp index 8d3615d117..04a149473b 100644 --- a/src/kits/tracker/TrackerInitialState.cpp +++ b/src/kits/tracker/TrackerInitialState.cpp @@ -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,