mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 21:31:32 +00:00
Release Notes: - N/A --- In the same vein as #29538, the "Services" menu on macOS depended on the text being exactly "Services", not allowing for i18n of the menu name. This PR introduces a new menu type called `OsMenu` that defines a special menu that can be populated by the system. Currently, it takes one enum value, `ServicesMenu` that tells the system to populate its contents with the items it would usually populate the "Services" menu with. An example of this being used has been implemented in the `set_menus` example: `cargo run -p gpui --example set_menus` --- Point to consider: In `mac/platform.rs:414` the existing code for setting the "Services" menu remains for backwards compatibility. Should this remain now that this new method exists to set the menu, or should it be removed? --------- Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com> |
||
|---|---|---|
| .. | ||
| image | ||
| svg | ||
| animation.rs | ||
| data_table.rs | ||
| drag_drop.rs | ||
| gif_viewer.rs | ||
| gradient.rs | ||
| hello_world.rs | ||
| image_gallery.rs | ||
| image_loading.rs | ||
| input.rs | ||
| on_window_close_quit.rs | ||
| opacity.rs | ||
| ownership_post.rs | ||
| painting.rs | ||
| paths_bench.rs | ||
| pattern.rs | ||
| scrollable.rs | ||
| set_menus.rs | ||
| shadow.rs | ||
| tab_stop.rs | ||
| text.rs | ||
| text_layout.rs | ||
| text_wrapper.rs | ||
| tree.rs | ||
| uniform_list.rs | ||
| window.rs | ||
| window_positioning.rs | ||
| window_shadow.rs | ||