Change action name
This commit is contained in:
parent
50f721ebd4
commit
ec4c2f5fd0
3 changed files with 3 additions and 3 deletions
|
@ -149,7 +149,7 @@ fn git_panel_context_menu(
|
||||||
StashAll.boxed_clone(),
|
StashAll.boxed_clone(),
|
||||||
)
|
)
|
||||||
.action_disabled_when(!state.has_stash_items, "Stash Pop", StashPop.boxed_clone())
|
.action_disabled_when(!state.has_stash_items, "Stash Pop", StashPop.boxed_clone())
|
||||||
.action("View Stash", zed_actions::git::StashEntries.boxed_clone())
|
.action("View Stash", zed_actions::git::ViewStash.boxed_clone())
|
||||||
.separator()
|
.separator()
|
||||||
.action("Open Diff", project_diff::Diff.boxed_clone())
|
.action("Open Diff", project_diff::Diff.boxed_clone())
|
||||||
.separator()
|
.separator()
|
||||||
|
|
|
@ -33,7 +33,7 @@ pub fn register(workspace: &mut Workspace) {
|
||||||
|
|
||||||
pub fn open(
|
pub fn open(
|
||||||
workspace: &mut Workspace,
|
workspace: &mut Workspace,
|
||||||
_: &zed_actions::git::StashEntries,
|
_: &zed_actions::git::ViewStash,
|
||||||
window: &mut Window,
|
window: &mut Window,
|
||||||
cx: &mut Context<Workspace>,
|
cx: &mut Context<Workspace>,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -177,7 +177,7 @@ pub mod git {
|
||||||
#[action(deprecated_aliases = ["branches::OpenRecent"])]
|
#[action(deprecated_aliases = ["branches::OpenRecent"])]
|
||||||
Branch,
|
Branch,
|
||||||
/// Opens the git stash selector.
|
/// Opens the git stash selector.
|
||||||
StashEntries
|
ViewStash
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue