diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2021-02-26 07:14:19 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-26 13:50:00 +0100 |
commit | 2481dbcc41169af2119f2a5e95b27c8ade99922f (patch) | |
tree | c4223f8fd7af33cfdbe503d42a4fa405b594d988 | |
parent | 132ca7e37ba8bd9c5eb60f7905b75643bad3ce22 (diff) | |
download | serenity-2481dbcc41169af2119f2a5e95b27c8ade99922f.zip |
Terminal: Remove unnecessary ellipses and capitalize name in menu
-rw-r--r-- | Userland/Applications/Terminal/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Terminal/main.cpp b/Userland/Applications/Terminal/main.cpp index 7b3a6ef182..bfc415525a 100644 --- a/Userland/Applications/Terminal/main.cpp +++ b/Userland/Applications/Terminal/main.cpp @@ -398,7 +398,7 @@ int main(int argc, char** argv) auto new_scrollback_size = config->read_num_entry("Terminal", "MaxHistorySize", terminal.max_history_size()); terminal.set_max_history_size(new_scrollback_size); - auto open_settings_action = GUI::Action::create("Settings...", Gfx::Bitmap::load_from_file("/res/icons/16x16/gear.png"), + auto open_settings_action = GUI::Action::create("Settings", Gfx::Bitmap::load_from_file("/res/icons/16x16/gear.png"), [&](const GUI::Action&) { if (!settings_window) settings_window = create_settings_window(terminal); @@ -426,7 +426,7 @@ int main(int argc, char** argv) auto menubar = GUI::MenuBar::construct(); auto& app_menu = menubar->add_menu("Terminal"); - app_menu.add_action(GUI::Action::create("Open new terminal", { Mod_Ctrl | Mod_Shift, Key_N }, Gfx::Bitmap::load_from_file("/res/icons/16x16/app-terminal.png"), [&](auto&) { + app_menu.add_action(GUI::Action::create("Open new Terminal", { Mod_Ctrl | Mod_Shift, Key_N }, Gfx::Bitmap::load_from_file("/res/icons/16x16/app-terminal.png"), [&](auto&) { pid_t child; const char* argv[] = { "Terminal", nullptr }; if ((errno = posix_spawn(&child, "/bin/Terminal", nullptr, nullptr, const_cast<char**>(argv), environ))) { |