Fix ticket #8858.
- When an Identify/Force Identify request is made in Tracker, if the target is a link, resolve it to its destination first. Fixes #8858. - Have mime_update.sh explicitly mimeset the welcome/user guide scripts.
This commit is contained in:
@@ -24,6 +24,9 @@ done
|
||||
|
||||
SYSTEM=$(/bin/finddir B_SYSTEM_DIRECTORY 2>/dev/null || echo "/boot/system")
|
||||
|
||||
mimeset -f "$SYSTEM/bin/userguide"
|
||||
mimeset -f "$SYSTEM/bin/welcome"
|
||||
|
||||
_progress 0.1 "system applications"
|
||||
mimeset -apps -f "$SYSTEM/apps"
|
||||
_progress 0.2 "documentation"
|
||||
|
||||
@@ -8365,7 +8365,7 @@ BPoseView::IdentifySelection()
|
||||
int32 count = fSelectionList->CountItems();
|
||||
for (int32 index = 0; index < count; index++) {
|
||||
BPose* pose = fSelectionList->ItemAt(index);
|
||||
BEntry entry(pose->TargetModel()->EntryRef());
|
||||
BEntry entry(pose->TargetModel()->ResolveIfLink()->EntryRef());
|
||||
if (entry.InitCheck() == B_OK) {
|
||||
BPath path;
|
||||
if (entry.GetPath(&path) == B_OK)
|
||||
|
||||
Reference in New Issue
Block a user