Replace project_path
with project_entry
in workspace::{Item, ItemView}
This commit is contained in:
parent
18f1040c85
commit
9c9a09cccb
7 changed files with 122 additions and 64 deletions
|
@ -528,7 +528,7 @@ impl workspace::Item for ProjectDiagnostics {
|
|||
ProjectDiagnosticsEditor::new(handle, workspace.weak_handle(), workspace.settings(), cx)
|
||||
}
|
||||
|
||||
fn project_path(&self) -> Option<project::ProjectPath> {
|
||||
fn project_entry(&self) -> Option<project::ProjectEntry> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
@ -544,7 +544,7 @@ impl workspace::ItemView for ProjectDiagnosticsEditor {
|
|||
"Project Diagnostics".to_string()
|
||||
}
|
||||
|
||||
fn project_path(&self, _: &AppContext) -> Option<project::ProjectPath> {
|
||||
fn project_entry(&self, _: &AppContext) -> Option<project::ProjectEntry> {
|
||||
None
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue