From 4be89ea60f3052eb68d0c80cb74fdb217a425b27 Mon Sep 17 00:00:00 2001 From: Beniamin Zagan <47153906+beniaminzagan@users.noreply.github.com> Date: Fri, 7 Feb 2025 23:33:00 +0100 Subject: [PATCH] title_bar: Add menu item to deploy icon theme selector (#24482) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added the icons option in the title bar between Themes and Extension. | Before | After | | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | | Screenshot 2025-02-07 at 5 18 10 PM | Screenshot 2025-02-07 at 5 18 01 PM | Release Notes: - Added an option to open the icon theme selector from the user menu. --------- Co-authored-by: Marshall Bowers --- crates/title_bar/src/title_bar.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rs index 801e701e78..cd28890b2e 100644 --- a/crates/title_bar/src/title_bar.rs +++ b/crates/title_bar/src/title_bar.rs @@ -673,6 +673,10 @@ impl TitleBar { "Themes…", zed_actions::theme_selector::Toggle::default().boxed_clone(), ) + .action( + "Icon Themes…", + zed_actions::icon_theme_selector::Toggle::default().boxed_clone(), + ) .action("Extensions", zed_actions::Extensions.boxed_clone()) .separator() .link( @@ -716,6 +720,10 @@ impl TitleBar { "Themes…", zed_actions::theme_selector::Toggle::default().boxed_clone(), ) + .action( + "Icon Themes…", + zed_actions::icon_theme_selector::Toggle::default().boxed_clone(), + ) .action("Extensions", zed_actions::Extensions.boxed_clone()) .separator() .link(