Rename DockItem to Panel

This commit is contained in:
Nathan Sobo
2023-05-09 10:18:11 +02:00
committed by Antonio Scandurra
parent 03f8c1206a
commit 1ddbda5095
9 changed files with 25 additions and 24 deletions
+2 -2
View File
@@ -766,7 +766,7 @@ impl<T: FollowableItem> FollowableItemHandle for ViewHandle<T> {
#[cfg(test)]
pub(crate) mod test {
use super::{Item, ItemEvent};
use crate::{dock::DockItem, ItemId, ItemNavHistory, Pane, Workspace, WorkspaceId};
use crate::{dock::Panel, ItemId, ItemNavHistory, Pane, Workspace, WorkspaceId};
use gpui::{
elements::Empty, AnyElement, AppContext, Element, Entity, ModelHandle, Task, View,
ViewContext, ViewHandle, WeakViewHandle,
@@ -1060,5 +1060,5 @@ pub(crate) mod test {
}
}
impl DockItem for TestItem {}
impl Panel for TestItem {}
}