mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:18:11 +00:00
Applications: Let's put spaces in app names
"FileManager" => "File Manager" "FontEditor" => "Font Editor" "ProcessManager" => "Process Manager" "TextEditor" => "Text Editor"
This commit is contained in:
parent
12120167a9
commit
b311257098
4 changed files with 8 additions and 8 deletions
|
@ -25,7 +25,7 @@ void open_sesame(GWindow& window, GTextEditor& editor, const String& path)
|
|||
GMessageBox::show(String::format("Opening \"%s\" failed: %s", path.characters(), strerror(errno)), "Error", GMessageBox::Type::Error, &window);
|
||||
}
|
||||
|
||||
window.set_title(String::format("TextEditor: %s", path.characters()));
|
||||
window.set_title(String::format("Text Editor: %s", path.characters()));
|
||||
editor.set_text(String::copy(file.read_all()));
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,7 @@ int main(int argc, char** argv)
|
|||
});
|
||||
|
||||
auto menubar = make<GMenuBar>();
|
||||
auto app_menu = make<GMenu>("TextEditor");
|
||||
auto app_menu = make<GMenu>("Text Editor");
|
||||
app_menu->add_action(GAction::create("Quit", { Mod_Alt, Key_F4 }, [] (const GAction&) {
|
||||
GApplication::the().quit(0);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue