mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +00:00
PixelPaint: Style the application name as "Pixel Paint" :^)
This commit is contained in:
parent
c7244e37eb
commit
6c2c3b920e
Notes:
sideshowbarker
2024-07-18 18:04:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6c2c3b920e7
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
[App]
|
||||
Name=PixelPaint
|
||||
Name=Pixel Paint
|
||||
Executable=/bin/PixelPaint
|
||||
Category=Graphics
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue