Add option to open settings profile selector in user menu (#35556)
Release Notes: - N/A
This commit is contained in:
parent
f14f0c24d6
commit
ea7c3a23fb
1 changed files with 8 additions and 0 deletions
|
@ -682,6 +682,10 @@ impl TitleBar {
|
||||||
)
|
)
|
||||||
.separator()
|
.separator()
|
||||||
.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
||||||
|
.action(
|
||||||
|
"Settings Profiles",
|
||||||
|
zed_actions::settings_profile_selector::Toggle.boxed_clone(),
|
||||||
|
)
|
||||||
.action("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
|
.action("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
|
||||||
.action(
|
.action(
|
||||||
"Themes…",
|
"Themes…",
|
||||||
|
@ -726,6 +730,10 @@ impl TitleBar {
|
||||||
.menu(|window, cx| {
|
.menu(|window, cx| {
|
||||||
ContextMenu::build(window, cx, |menu, _, _| {
|
ContextMenu::build(window, cx, |menu, _, _| {
|
||||||
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
menu.action("Settings", zed_actions::OpenSettings.boxed_clone())
|
||||||
|
.action(
|
||||||
|
"Settings Profiles",
|
||||||
|
zed_actions::settings_profile_selector::Toggle.boxed_clone(),
|
||||||
|
)
|
||||||
.action("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
|
.action("Key Bindings", Box::new(keybindings::OpenKeymapEditor))
|
||||||
.action(
|
.action(
|
||||||
"Themes…",
|
"Themes…",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue