diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-05-21 18:51:06 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-21 18:41:28 +0100 |
commit | 229414b0020e6980984715626131081d62769c1f (patch) | |
tree | 1095a9d7c83db6ff258f7b46af5b4dfaf28db912 /Userland/Applications/PixelPaint/main.cpp | |
parent | f27e75ac0cdbcda6c8e748f16feb308211aec6d9 (diff) | |
download | serenity-229414b0020e6980984715626131081d62769c1f.zip |
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).
Diffstat (limited to 'Userland/Applications/PixelPaint/main.cpp')
-rw-r--r-- | Userland/Applications/PixelPaint/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/PixelPaint/main.cpp b/Userland/Applications/PixelPaint/main.cpp index 071488f736..a181bb7bfc 100644 --- a/Userland/Applications/PixelPaint/main.cpp +++ b/Userland/Applications/PixelPaint/main.cpp @@ -225,7 +225,7 @@ int main(int argc, char** argv) auto& layer_menu = menubar->add_menu("&Layer"); layer_menu.add_action(GUI::Action::create( - "&New Layer...", { Mod_Ctrl | Mod_Shift, Key_N }, [&](auto&) { + "New &Layer...", { Mod_Ctrl | Mod_Shift, Key_N }, [&](auto&) { auto dialog = PixelPaint::CreateNewLayerDialog::construct(image_editor.image()->size(), window); if (dialog->exec() == GUI::Dialog::ExecOK) { auto layer = PixelPaint::Layer::create_with_size(*image_editor.image(), dialog->layer_size(), dialog->layer_name()); @@ -320,7 +320,7 @@ int main(int argc, char** argv) } } })); - blur_submenu.add_action(GUI::Action::create("&Gaussian Blur (5x5)", [&](auto&) { + blur_submenu.add_action(GUI::Action::create("G&aussian Blur (5x5)", [&](auto&) { if (auto* layer = image_editor.active_layer()) { Gfx::SpatialGaussianBlurFilter<5> filter; if (auto parameters = PixelPaint::FilterParameters<Gfx::SpatialGaussianBlurFilter<5>>::get()) { @@ -338,7 +338,7 @@ int main(int argc, char** argv) } } })); - blur_submenu.add_action(GUI::Action::create("&Box Blur (5x5)", [&](auto&) { + blur_submenu.add_action(GUI::Action::create("B&ox Blur (5x5)", [&](auto&) { if (auto* layer = image_editor.active_layer()) { Gfx::BoxBlurFilter<5> filter; if (auto parameters = PixelPaint::FilterParameters<Gfx::BoxBlurFilter<5>>::get()) { |