Ticket #4167: tracker.diff

File tracker.diff, 1.3 KB (added by jonas.kirilla, 15 years ago)

buggy tracker patch

  • src/kits/tracker/FilePanelPriv.cpp

     
    677677
    678678    BEntry entry(TargetModel()->EntryRef());
    679679    if (entry.InitCheck() == B_OK)
    680         fDirMenu->Populate(&entry, 0, true, true, false, true);
     680        fDirMenu->Populate(&entry, 0, true, true, false, true, true);
    681681    else
    682         fDirMenu->Populate(0, 0, true, true, false, true);
     682        fDirMenu->Populate(0, 0, true, true, false, true, true);
    683683
    684684    fBackView->AddChild(fDirMenuField);
    685685
     
    15491549        delete fDirMenu->RemoveItem(index);
    15501550
    15511551    fDirMenuField->MenuBar()->RemoveItem((int32)0);
    1552     fDirMenu->Populate(&entry, 0, true, true, false, true);
     1552    fDirMenu->Populate(&entry, 0, true, true, false, true, true);
    15531553
    15541554    ModelMenuItem *item = dynamic_cast<ModelMenuItem *>(
    15551555        fDirMenuField->MenuBar()->ItemAt(0));
  • src/kits/tracker/CountView.cpp

     
    288288    window->Activate();
    289289    window->UpdateIfNeeded();
    290290
    291     if (fPoseView->IsFilePanel() || !fPoseView->TargetModel())
     291    if (!fPoseView->TargetModel())
    292292        return;
    293293
    294294    if (!window->TargetModel()->IsRoot()) {