mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +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
|
@ -67,6 +67,7 @@ void PDFViewerWidget::initialize_menubar(GUI::Window& window)
|
|||
view_menu.add_action(*m_reset_zoom_action);
|
||||
|
||||
auto& help_menu = window.add_menu("&Help");
|
||||
help_menu.add_action(GUI::CommonActions::make_command_palette_action(&window));
|
||||
help_menu.add_action(GUI::CommonActions::make_about_action("PDF Viewer", GUI::Icon::default_icon("app-pdf-viewer"sv), &window));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue