- 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:
Rene Gollent
2012-08-11 09:56:20 -04:00
parent b0841df466
commit 39433058f7
2 changed files with 9 additions and 6 deletions
@@ -24,6 +24,9 @@ done
SYSTEM=$(/bin/finddir B_SYSTEM_DIRECTORY 2>/dev/null || echo "/boot/system") 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" _progress 0.1 "system applications"
mimeset -apps -f "$SYSTEM/apps" mimeset -apps -f "$SYSTEM/apps"
_progress 0.2 "documentation" _progress 0.2 "documentation"
+1 -1
View File
@@ -8365,7 +8365,7 @@ BPoseView::IdentifySelection()
int32 count = fSelectionList->CountItems(); int32 count = fSelectionList->CountItems();
for (int32 index = 0; index < count; index++) { for (int32 index = 0; index < count; index++) {
BPose* pose = fSelectionList->ItemAt(index); BPose* pose = fSelectionList->ItemAt(index);
BEntry entry(pose->TargetModel()->EntryRef()); BEntry entry(pose->TargetModel()->ResolveIfLink()->EntryRef());
if (entry.InitCheck() == B_OK) { if (entry.InitCheck() == B_OK) {
BPath path; BPath path;
if (entry.GetPath(&path) == B_OK) if (entry.GetPath(&path) == B_OK)