Skip to content

Commit bc1ec58

Browse files
committed
TextEditor: Tweak 16x16 icon
In keeping with the slightly-higher-contrast theme.
1 parent 14edd67 commit bc1ec58

File tree

9 files changed

+6
-6
lines changed

9 files changed

+6
-6
lines changed

Applications/FileManager/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ int run_in_windowed_mode(RefPtr<Core::ConfigFile> config, String initial_locatio
719719
copy_action->set_enabled(!selection.is_empty());
720720
};
721721

722-
auto open_in_text_editor_action = GUI::Action::create("Open in TextEditor...", Gfx::Bitmap::load_from_file("/res/icons/TextEditor16.png"), [&](auto&) {
722+
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&) {
723723
pid_t child;
724724
for (auto& path : selected_file_paths()) {
725725
const char* argv[] = { "TextEditor", path.characters(), nullptr };

Applications/TextEditor/TextEditorWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ TextEditorWidget::TextEditorWidget()
452452

453453
auto& help_menu = menubar->add_menu("Help");
454454
help_menu.add_action(GUI::Action::create("About", [&](auto&) {
455-
GUI::AboutDialog::show("Text Editor", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-texteditor.png"), window());
455+
GUI::AboutDialog::show("Text Editor", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-text-editor.png"), window());
456456
}));
457457

458458
GUI::Application::the()->set_menubar(move(menubar));

Applications/TextEditor/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int main(int argc, char** argv)
6060
text_widget.open_sesame(argv[1]);
6161

6262
window->show();
63-
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/TextEditor16.png"));
63+
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-text-editor.png"));
6464

6565
return app->exec();
6666
}

Base/res/apps/TextEditor.af

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Executable=/bin/TextEditor
44
Category=Utilities
55

66
[Icons]
7-
16x16=/res/icons/TextEditor16.png
8-
32x32=/res/icons/32x32/app-texteditor.png
7+
16x16=/res/icons/16x16/app-text-editor.png
8+
32x32=/res/icons/32x32/app-text-editor.png
99

1010
[Launcher]
1111
FileTypes=txt,md,html,htm,js,json,ini
160 Bytes
Loading

Base/res/icons/TextEditor.png

-454 Bytes
Binary file not shown.

Base/res/icons/TextEditor16.png

-276 Bytes
Binary file not shown.

DevTools/HackStudio/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ int main(int argc, char** argv)
480480
});
481481

482482
auto add_editor_action = GUI::Action::create("Add new editor", { Mod_Ctrl | Mod_Alt, Key_E },
483-
Gfx::Bitmap::load_from_file("/res/icons/TextEditor16.png"),
483+
Gfx::Bitmap::load_from_file("/res/icons/16x16/app-text-editor.png"),
484484
[&](auto&) {
485485
add_new_editor(*g_text_inner_splitter);
486486
update_actions();

0 commit comments

Comments
 (0)