PixelPaint: Style the application name as "Pixel Paint" :^)

This commit is contained in:
Andreas Kling 2021-05-16 00:55:23 +02:00
parent c7244e37eb
commit 6c2c3b920e
Notes: sideshowbarker 2024-07-18 18:04:01 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
[App]
Name=PixelPaint
Name=Pixel Paint
Executable=/bin/PixelPaint
Category=Graphics

View file

@ -49,13 +49,13 @@ int main(int argc, char** argv)
const char* image_file = nullptr;
Core::ArgsParser args_parser;
args_parser.add_positional_argument(image_file, "PixelPaint image file (*.pp) to open", "path", Core::ArgsParser::Required::No);
args_parser.add_positional_argument(image_file, "Pixel Paint image file (*.pp) to open", "path", Core::ArgsParser::Required::No);
args_parser.parse(argc, argv);
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
auto window = GUI::Window::construct();
window->set_title("PixelPaint");
window->set_title("Pixel Paint");
window->resize(800, 480);
window->set_icon(app_icon.bitmap_for_size(16));
@ -369,7 +369,7 @@ int main(int argc, char** argv)
}));
auto& help_menu = menubar->add_menu("&Help");
help_menu.add_action(GUI::CommonActions::make_about_action("PixelPaint", app_icon, window));
help_menu.add_action(GUI::CommonActions::make_about_action("Pixel Paint", app_icon, window));
window->set_menubar(move(menubar));