Lines Matching refs:ref

319 	entry_ref ref;
320 if (message->FindRef("refs", &ref) != B_OK)
323 BEntry entry(&ref);
337 // both entry and ref need to be the correct locations
339 resolvedEntry.GetRef(&ref);
340 entry.SetTo(&ref);
355 entry.GetRef(&ref);
359 const_cast<const entry_ref*>(&ref),
361 ref == *panel->TargetModel()->EntryRef() ? 0 : 100000, 200000,
371 panel->SetTo(&ref);
408 // if current directory moved, update entry ref and menu
435 entry_ref ref;
437 entry.GetRef(&ref);
439 panel->SwitchDirToDesktopIfNeeded(ref);
441 panel->SetTo(&ref);
545 TFilePanel::SetTo(const entry_ref* ref)
547 if (ref == NULL)
550 entry_ref setToRef(*ref);
662 TFilePanel::GetNextEntryRef(entry_ref* ref)
664 if (!ref)
671 *ref = *pose->TargetModel()->EntryRef();
877 title, info.ref, false) != B_OK)
878 title = info.ref.name;
1100 TFilePanel::ShowContextMenu(BPoint where, const entry_ref* ref)
1107 if (ref != NULL) {
1109 Model model(ref);
1229 entry_ref ref;
1234 if (message->FindRef("refs", &ref) == B_OK) {
1235 BEntry entry(&ref, true);
1241 entry.GetRef(&ref);
1242 bool isDesktop = SwitchDirToDesktopIfNeeded(ref);
1245 entry.SetTo(&ref);
1246 PoseView()->SwitchDir(&ref);
1247 SwitchDirMenuTo(&ref);
1278 // set the 'name' fld to the current ref's
1281 SetSaveText(ref.name);
1292 if (message->FindRef("refs", index, &ref) != B_OK)
1294 openMessage.AddRef("refs", &ref);
1304 entry_ref ref;
1306 if (message->FindRef("refs", &ref) == B_OK) {
1307 BEntry entry(&ref, true);
1308 if (entry.GetRef(&ref) == B_OK)
1309 SetTo(&ref);
1317 entry_ref ref;
1319 || get_ref_for_path(homePath.Path(), &ref) != B_OK) {
1323 SetTo(&ref);
1361 entry_ref ref;
1362 if (get_ref_for_path(path.Path(), &ref) == B_OK) {
1363 message.AddRef("refs", &ref);
1466 entry_ref ref;
1467 parentEntry.GetRef(&ref);
1469 PoseView()->SetIsDesktop(SwitchDirToDesktopIfNeeded(ref));
1470 PoseView()->SwitchDir(&ref);
1471 SwitchDirMenuTo(&ref);
1477 const_cast<const entry_ref*>(&ref),
1502 TFilePanel::SwitchDirToDesktopIfNeeded(entry_ref &ref)
1512 BEntry entry(&ref);
1523 entry.GetRef(&ref);
1651 entry_ref ref;
1652 if (openMessage->FindRef("refs", index, &ref) != B_OK)
1655 BEntry entry(&ref, true);
1658 BRoster().AddToRecentFolders(&ref);
1660 BRoster().AddToRecentDocuments(&ref);
1727 TFilePanel::SwitchDirMenuTo(const entry_ref* ref)
1729 BEntry entry(ref);
1858 BFilePanelPoseView::InitDirentIterator(const entry_ref* ref)
1861 return DesktopPoseView::InitDesktopDirentIterator(this, ref);
1863 return _inherited::InitDirentIterator(ref);