mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Userland: Let applications make use of make_command_palette_action()
This commit is contained in:
parent
eb8c2bde90
commit
34acae90c7
45 changed files with 47 additions and 0 deletions
|
@ -1047,6 +1047,7 @@ ErrorOr<int> run_in_windowed_mode(String const& initial_location, String const&
|
|||
TRY(go_menu->try_add_action(directory_view->open_terminal_action()));
|
||||
|
||||
auto help_menu = TRY(window->try_add_menu("&Help"));
|
||||
TRY(help_menu->try_add_action(GUI::CommonActions::make_command_palette_action(window)));
|
||||
TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("File Manager"sv, GUI::Icon::default_icon("app-file-manager"sv), window)));
|
||||
|
||||
(void)TRY(main_toolbar.try_add_action(go_back_action));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue