title_bar: Remove dependency on recent_projects (#20942)

Use actions defined in zed_actions to interface with that crate instead.
One drawback of this is that we now hide call controls when any modal is
visible (we used to hide them just when ssh modal was deployed).

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-11-21 00:43:03 +01:00 committed by GitHub
parent 33bed8d680
commit 335b112abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 22 additions and 30 deletions

View file

@ -50,7 +50,7 @@ pub fn app_menus() -> Vec<Menu> {
MenuItem::action("Open…", workspace::Open),
MenuItem::action(
"Open Recent...",
recent_projects::OpenRecent {
zed_actions::OpenRecent {
create_new_window: true,
},
),