Lines Matching refs:directory
258 message->FindInt64("directory", &ref.directory);
385 DeskbarView::_CreateMenuLinks(BDirectory& directory, BPath& path)
387 status_t status = directory.SetTo(path.Path());
391 // Check if the directory has to be created (and do it in this case,
393 // create the directory and fill it with links, so normally this doesn't
398 || entry.GetParent(&directory) < B_OK
399 || directory.CreateDirectory(path.Leaf(), NULL) < B_OK
400 || directory.SetTo(path.Path()) < B_OK)
407 directory.CreateSymLink("Open Inbox Folder", targetPath.Path(), NULL);
409 directory.CreateSymLink("Open Mail Folder", targetPath.Path(), NULL);
414 if (directory.CreateFile("Open Draft", &file) < B_OK)
465 BDirectory directory;
466 if (_CreateMenuLinks(directory, path)) {
469 while (directory.GetNextRef(&ref) == B_OK) {