Userland: Let applications make use of make_command_palette_action()

This commit is contained in:
demostanis 2022-10-14 22:27:30 +02:00 committed by Linus Groh
commit 34acae90c7
Notes: sideshowbarker 2024-07-17 05:07:16 +09:00
45 changed files with 47 additions and 0 deletions

View file

@ -206,6 +206,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(accessibility_menu->try_add_action(achromatomaly_accessibility_action));
auto help_menu = TRY(window->try_add_menu("&Help"));
help_menu->add_action(GUI::CommonActions::make_command_palette_action(window));
help_menu->add_action(GUI::CommonActions::make_about_action("Magnifier", app_icon, window));
window->show();