1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:17:35 +00:00

TextEditor: Tweak 16x16 icon

In keeping with the slightly-higher-contrast theme.
This commit is contained in:
Andreas Kling 2020-07-04 19:41:43 +02:00
parent 14edd67bcc
commit bc1ec588f0
9 changed files with 6 additions and 6 deletions

View file

@ -719,7 +719,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
copy_action->set_enabled(!selection.is_empty());
};
auto open_in_text_editor_action = GUI::Action::create("Open in TextEditor...", Gfx::Bitmap::load_from_file("/res/icons/TextEditor16.png"), [&](auto&) {
auto open_in_text_editor_action = GUI::Action::create("Open in TextEditor...", Gfx::Bitmap::load_from_file("/res/icons/16x16/app-text-editor.png"), [&](auto&) {
pid_t child;
for (auto& path : selected_file_paths()) {
const char* argv[] = { "TextEditor", path.characters(), nullptr };

View file

@ -452,7 +452,7 @@ TextEditorWidget::TextEditorWidget()
auto& help_menu = menubar->add_menu("Help");
help_menu.add_action(GUI::Action::create("About", [&](auto&) {
GUI::AboutDialog::show("Text Editor", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-texteditor.png"), window());
GUI::AboutDialog::show("Text Editor", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-text-editor.png"), window());
}));
GUI::Application::the()->set_menubar(move(menubar));

View file

@ -60,7 +60,7 @@ int main(int argc, char** argv)
text_widget.open_sesame(argv[1]);
window->show();
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/TextEditor16.png"));
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-text-editor.png"));
return app->exec();
}