mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 00:48:35 +00:00
rename
This commit is contained in:
parent
24217a12c3
commit
26a9aaacf5
3 changed files with 9 additions and 9 deletions
|
|
@ -6,7 +6,7 @@ use crate::{
|
|||
BranchListComponent, CommandBlocking, CommandInfo,
|
||||
CommitComponent, CompareCommitsComponent, Component,
|
||||
ConfirmComponent, CreateBranchComponent, DrawableComponent,
|
||||
ExternalEditorComponent, FileFindComponent, HelpComponent,
|
||||
ExternalEditorComponent, FileFindPopup, HelpComponent,
|
||||
InspectCommitComponent, MsgComponent, OptionsPopupComponent,
|
||||
PullComponent, PushComponent, PushTagsComponent,
|
||||
RenameBranchComponent, RevisionFilesPopup, SharedOptions,
|
||||
|
|
@ -51,7 +51,7 @@ pub struct App {
|
|||
compare_commits_popup: CompareCommitsComponent,
|
||||
external_editor_popup: ExternalEditorComponent,
|
||||
revision_files_popup: RevisionFilesPopup,
|
||||
find_file_popup: FileFindComponent,
|
||||
find_file_popup: FileFindPopup,
|
||||
push_popup: PushComponent,
|
||||
push_tags_popup: PushTagsComponent,
|
||||
pull_popup: PullComponent,
|
||||
|
|
@ -190,7 +190,7 @@ impl App {
|
|||
key_config.clone(),
|
||||
options.clone(),
|
||||
),
|
||||
find_file_popup: FileFindComponent::new(
|
||||
find_file_popup: FileFindPopup::new(
|
||||
&queue,
|
||||
theme.clone(),
|
||||
key_config.clone(),
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ use tui::{
|
|||
Frame,
|
||||
};
|
||||
|
||||
pub struct FileFindComponent {
|
||||
pub struct FileFindPopup {
|
||||
queue: Queue,
|
||||
visible: bool,
|
||||
find_text: TextInputComponent,
|
||||
|
|
@ -34,7 +34,7 @@ pub struct FileFindComponent {
|
|||
key_config: SharedKeyConfig,
|
||||
}
|
||||
|
||||
impl FileFindComponent {
|
||||
impl FileFindPopup {
|
||||
///
|
||||
pub fn new(
|
||||
queue: &Queue,
|
||||
|
|
@ -131,7 +131,7 @@ impl FileFindComponent {
|
|||
}
|
||||
}
|
||||
|
||||
impl DrawableComponent for FileFindComponent {
|
||||
impl DrawableComponent for FileFindPopup {
|
||||
fn draw<B: Backend>(
|
||||
&self,
|
||||
f: &mut Frame<B>,
|
||||
|
|
@ -213,7 +213,7 @@ impl DrawableComponent for FileFindComponent {
|
|||
}
|
||||
}
|
||||
|
||||
impl Component for FileFindComponent {
|
||||
impl Component for FileFindPopup {
|
||||
fn commands(
|
||||
&self,
|
||||
out: &mut Vec<CommandInfo>,
|
||||
|
|
@ -10,7 +10,7 @@ mod create_branch;
|
|||
mod cred;
|
||||
mod diff;
|
||||
mod externaleditor;
|
||||
mod file_find;
|
||||
mod file_find_popup;
|
||||
mod filetree;
|
||||
mod help;
|
||||
mod inspect_commit;
|
||||
|
|
@ -42,7 +42,7 @@ pub use compare_commits::CompareCommitsComponent;
|
|||
pub use create_branch::CreateBranchComponent;
|
||||
pub use diff::DiffComponent;
|
||||
pub use externaleditor::ExternalEditorComponent;
|
||||
pub use file_find::FileFindComponent;
|
||||
pub use file_find_popup::FileFindPopup;
|
||||
pub use help::HelpComponent;
|
||||
pub use inspect_commit::InspectCommitComponent;
|
||||
pub use msg::MsgComponent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue