summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/main.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-05-15 17:52:58 +0100
committerLinus Groh <mail@linusgroh.de>2021-05-15 17:52:58 +0100
commit2225e18749a2a6c6da35fce2b8efbe5c99428ff1 (patch)
tree53deb07f8d012badd0beeb795b363be137421e7d /Userland/Games/GameOfLife/main.cpp
parentd99991e39c30e44a4a1200107782a1e4b0ea8cb6 (diff)
downloadserenity-2225e18749a2a6c6da35fce2b8efbe5c99428ff1.zip
GameOfLife: Rename primary menu to just "Game"
Diffstat (limited to 'Userland/Games/GameOfLife/main.cpp')
-rw-r--r--Userland/Games/GameOfLife/main.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp
index 0fc71f0bbe..46c92a7ccb 100644
--- a/Userland/Games/GameOfLife/main.cpp
+++ b/Userland/Games/GameOfLife/main.cpp
@@ -113,15 +113,15 @@ int main(int argc, char** argv)
main_toolbar.add_action(randomize_cells_action);
auto menubar = GUI::Menubar::construct();
- auto& app_menu = menubar->add_menu("Game Of Life");
+ auto& game_menu = menubar->add_menu("Game");
- app_menu.add_action(clear_board_action);
- app_menu.add_action(randomize_cells_action);
- app_menu.add_separator();
- app_menu.add_action(toggle_running_action);
- app_menu.add_action(run_one_generation_action);
+ game_menu.add_action(clear_board_action);
+ game_menu.add_action(randomize_cells_action);
+ game_menu.add_separator();
+ game_menu.add_action(toggle_running_action);
+ game_menu.add_action(run_one_generation_action);
- app_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
+ game_menu.add_action(GUI::CommonActions::make_quit_action([](auto&) {
GUI::Application::the()->quit();
}));