mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
Applications+Games: Drop ellipsis from settings action
There is no second step to complete after activating this action.
This commit is contained in:
parent
fd60c9fac7
commit
c19486172d
3 changed files with 3 additions and 3 deletions
|
@ -284,7 +284,7 @@ void BrowserWindow::build_menus()
|
||||||
}
|
}
|
||||||
|
|
||||||
settings_menu.add_separator();
|
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&) {
|
[](auto&) {
|
||||||
Core::Process::spawn("/bin/BrowserSettings");
|
Core::Process::spawn("/bin/BrowserSettings");
|
||||||
});
|
});
|
||||||
|
|
|
@ -192,7 +192,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
})));
|
})));
|
||||||
|
|
||||||
TRY(game_menu->try_add_separator());
|
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();
|
change_settings();
|
||||||
})));
|
})));
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
game.setup(player_name);
|
game.setup(player_name);
|
||||||
})));
|
})));
|
||||||
TRY(game_menu->try_add_separator());
|
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();
|
change_settings();
|
||||||
})));
|
})));
|
||||||
TRY(game_menu->try_add_separator());
|
TRY(game_menu->try_add_separator());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue