title_bar: Remove dependency on command_palette (#21006)

This PR removes the `title_bar` crate's dependency on the
`command_palette`.

The `command_palette::Toggle` action now resides at
`zed_actions::command_palette::Toggle`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-11-21 13:37:34 -05:00 committed by GitHub
parent 268ac4c047
commit c16dfc1a39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 8 deletions

View file

@ -146,7 +146,7 @@ pub fn app_menus() -> Vec<Menu> {
MenuItem::action("Back", workspace::GoBack),
MenuItem::action("Forward", workspace::GoForward),
MenuItem::separator(),
MenuItem::action("Command Palette...", command_palette::Toggle),
MenuItem::action("Command Palette...", zed_actions::command_palette::Toggle),
MenuItem::separator(),
MenuItem::action("Go to File...", workspace::ToggleFileFinder::default()),
// MenuItem::action("Go to Symbol in Project", project_symbols::Toggle),