Jelajahi Sumber

TextEditor: Tweak 16x16 icon

In keeping with the slightly-higher-contrast theme.
Andreas Kling 5 tahun lalu
induk
melakukan
bc1ec588f0

+ 1 - 1
Applications/FileManager/main.cpp

@@ -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 };

+ 1 - 1
Applications/TextEditor/TextEditorWidget.cpp

@@ -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));

+ 1 - 1
Applications/TextEditor/main.cpp

@@ -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();
 }

+ 2 - 2
Base/res/apps/TextEditor.af

@@ -4,8 +4,8 @@ Executable=/bin/TextEditor
 Category=Utilities
 
 [Icons]
-16x16=/res/icons/TextEditor16.png
-32x32=/res/icons/32x32/app-texteditor.png
+16x16=/res/icons/16x16/app-text-editor.png
+32x32=/res/icons/32x32/app-text-editor.png
 
 [Launcher]
 FileTypes=txt,md,html,htm,js,json,ini

TEMPAT SAMPAH
Base/res/icons/16x16/app-text-editor.png


+ 0 - 0
Base/res/icons/32x32/app-texteditor.png → Base/res/icons/32x32/app-text-editor.png


TEMPAT SAMPAH
Base/res/icons/TextEditor.png


TEMPAT SAMPAH
Base/res/icons/TextEditor16.png


+ 1 - 1
DevTools/HackStudio/main.cpp

@@ -480,7 +480,7 @@ int main(int argc, char** argv)
     });
 
     auto add_editor_action = GUI::Action::create("Add new editor", { Mod_Ctrl | Mod_Alt, Key_E },
-        Gfx::Bitmap::load_from_file("/res/icons/TextEditor16.png"),
+        Gfx::Bitmap::load_from_file("/res/icons/16x16/app-text-editor.png"),
         [&](auto&) {
             add_new_editor(*g_text_inner_splitter);
             update_actions();