mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
DisplaySettings: Refer to app as "Display Settings"
Application names are proper nouns, so let's write them with capitalized first letters.
This commit is contained in:
parent
f2f4695bdd
commit
9faa8e0ce6
2 changed files with 4 additions and 4 deletions
|
@ -61,7 +61,7 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto window = GUI::Window::construct();
|
auto window = GUI::Window::construct();
|
||||||
dbgln("main window: {}", window);
|
dbgln("main window: {}", window);
|
||||||
window->set_title("Display settings");
|
window->set_title("Display Settings");
|
||||||
window->resize(360, 410);
|
window->resize(360, 410);
|
||||||
window->set_resizable(false);
|
window->set_resizable(false);
|
||||||
window->set_main_widget(tab_widget.ptr());
|
window->set_main_widget(tab_widget.ptr());
|
||||||
|
@ -69,14 +69,14 @@ int main(int argc, char** argv)
|
||||||
|
|
||||||
auto menubar = GUI::MenuBar::construct();
|
auto menubar = GUI::MenuBar::construct();
|
||||||
|
|
||||||
auto& app_menu = menubar->add_menu("Display settings");
|
auto& app_menu = menubar->add_menu("Display Settings");
|
||||||
app_menu.add_action(GUI::CommonActions::make_quit_action([&](const GUI::Action&) {
|
app_menu.add_action(GUI::CommonActions::make_quit_action([&](const GUI::Action&) {
|
||||||
app->quit();
|
app->quit();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
auto& help_menu = menubar->add_menu("Help");
|
auto& help_menu = menubar->add_menu("Help");
|
||||||
help_menu.add_action(GUI::Action::create("About", [&](const GUI::Action&) {
|
help_menu.add_action(GUI::Action::create("About", [&](const GUI::Action&) {
|
||||||
GUI::AboutDialog::show("Display settings", app_icon.bitmap_for_size(32), window);
|
GUI::AboutDialog::show("Display Settings", app_icon.bitmap_for_size(32), window);
|
||||||
}));
|
}));
|
||||||
|
|
||||||
app->set_menubar(move(menubar));
|
app->set_menubar(move(menubar));
|
||||||
|
|
|
@ -280,7 +280,7 @@ int run_in_desktop_mode([[maybe_unused]] RefPtr<Core::ConfigFile> config)
|
||||||
Desktop::Launcher::open(URL::create_with_file_protocol(directory_view.path()));
|
Desktop::Launcher::open(URL::create_with_file_protocol(directory_view.path()));
|
||||||
});
|
});
|
||||||
|
|
||||||
auto display_properties_action = GUI::Action::create("Display settings", {}, Gfx::Bitmap::load_from_file("/res/icons/16x16/app-display-settings.png"), [&](const GUI::Action&) {
|
auto display_properties_action = GUI::Action::create("Display Settings", {}, Gfx::Bitmap::load_from_file("/res/icons/16x16/app-display-settings.png"), [&](const GUI::Action&) {
|
||||||
Desktop::Launcher::open(URL::create_with_file_protocol("/bin/DisplaySettings"));
|
Desktop::Launcher::open(URL::create_with_file_protocol("/bin/DisplaySettings"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue