FileTypes: Replace Tracker signature with one from tracker_private.h
Change-Id: I3f95ae29af3e9fba4189551749af1d58149506ec Reviewed-on: https://review.haiku-os.org/c/haiku/+/10725 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]> Haiku-Format: Haiku-format Bot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
6e64d5681f
commit
5a357cf094
@@ -39,6 +39,8 @@
|
||||
#include <stdio.h>
|
||||
#include <strings.h>
|
||||
|
||||
#include <tracker_private.h>
|
||||
|
||||
|
||||
// TODO: think about adopting Tracker's info window style here (pressable path)
|
||||
|
||||
@@ -414,7 +416,7 @@ ApplicationTypesWindow::_SetType(BMimeType* type, int32 forceUpdate)
|
||||
|
||||
if (be_roster->FindApp(fCurrentType.Type(), &ref) == B_OK) {
|
||||
// Set launch message
|
||||
BMessenger tracker("application/x-vnd.Be-TRAK");
|
||||
BMessenger tracker(kTrackerSignature);
|
||||
BMessage* message = new BMessage(B_REFS_RECEIVED);
|
||||
message->AddRef("refs", &ref);
|
||||
|
||||
@@ -475,7 +477,7 @@ ApplicationTypesWindow::_SetType(BMimeType* type, int32 forceUpdate)
|
||||
BEntry entry(path.Path());
|
||||
entry_ref directoryRef;
|
||||
if (entry.GetRef(&directoryRef) == B_OK) {
|
||||
BMessenger tracker("application/x-vnd.Be-TRAK");
|
||||
BMessenger tracker(kTrackerSignature);
|
||||
BMessage* message = new BMessage(B_REFS_RECEIVED);
|
||||
message->AddRef("refs", &directoryRef);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user