mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Applications: Use titlecase and distinct underlined characters in menus
This changes (context) menus across the system to conform to titlecase capitalization and to not underline the same character twice (for accessing actions with Alt).
This commit is contained in:
parent
f27e75ac0c
commit
229414b002
16 changed files with 39 additions and 39 deletions
|
@ -358,7 +358,7 @@ void BrowserWindow::build_menus()
|
|||
}));
|
||||
debug_menu.add_separator();
|
||||
auto line_box_borders_action = GUI::Action::create_checkable(
|
||||
"&Line Box Borders", [this](auto& action) {
|
||||
"Line &Box Borders", [this](auto& action) {
|
||||
auto& tab = active_tab();
|
||||
if (tab.m_type == Tab::Type::InProcessWebView) {
|
||||
tab.m_page_view->set_should_show_line_box_borders(action.is_checked());
|
||||
|
@ -392,7 +392,7 @@ void BrowserWindow::build_menus()
|
|||
}));
|
||||
|
||||
m_user_agent_spoof_actions.set_exclusive(true);
|
||||
auto& spoof_user_agent_menu = debug_menu.add_submenu("Spoof User Agent");
|
||||
auto& spoof_user_agent_menu = debug_menu.add_submenu("Spoof &User Agent");
|
||||
m_disable_user_agent_spoofing = GUI::Action::create_checkable("Disabled", [this](auto&) {
|
||||
auto& tab = active_tab();
|
||||
if (tab.m_type == Tab::Type::InProcessWebView) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue