Applications+Games: Drop ellipsis from settings action

There is no second step to complete after activating this action.
This commit is contained in:
Linus Groh 2022-03-17 23:20:49 +00:00 committed by Andreas Kling
parent fd60c9fac7
commit c19486172d
3 changed files with 3 additions and 3 deletions

View file

@ -284,7 +284,7 @@ void BrowserWindow::build_menus()
}
settings_menu.add_separator();
auto open_settings_action = GUI::Action::create("&Settings...", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png").release_value_but_fixme_should_propagate_errors(),
auto open_settings_action = GUI::Action::create("&Settings", Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png").release_value_but_fixme_should_propagate_errors(),
[](auto&) {
Core::Process::spawn("/bin/BrowserSettings");
});

View file

@ -192,7 +192,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
})));
TRY(game_menu->try_add_separator());
TRY(game_menu->try_add_action(GUI::Action::create("&Settings...", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png")), [&](auto&) {
TRY(game_menu->try_add_action(GUI::Action::create("&Settings", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/settings.png")), [&](auto&) {
change_settings();
})));

View file

@ -91,7 +91,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
game.setup(player_name);
})));
TRY(game_menu->try_add_separator());
TRY(game_menu->try_add_action(GUI::Action::create("&Settings...", [&](auto&) {
TRY(game_menu->try_add_action(GUI::Action::create("&Settings", [&](auto&) {
change_settings();
})));
TRY(game_menu->try_add_separator());