mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Everywhere: Rename app_menu to file_menu or game_menu
This commit is contained in:
parent
b119fa5a0a
commit
4b0098e52f
Notes:
sideshowbarker
2024-07-18 18:49:06 +09:00
Author: https://github.com/awesomekling
Commit: 4b0098e52f
34 changed files with 140 additions and 142 deletions
|
@ -115,8 +115,8 @@ int main(int argc, char** argv)
|
|||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
||||
auto menubar = GUI::Menubar::construct();
|
||||
auto& app_menu = menubar->add_menu("File");
|
||||
app_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }));
|
||||
auto& file_menu = menubar->add_menu("&File");
|
||||
file_menu.add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }));
|
||||
|
||||
auto& help_menu = menubar->add_menu("Help");
|
||||
help_menu.add_action(GUI::CommonActions::make_help_action([](auto&) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue