Remove generic icon and prepare custom one

This commit is contained in:
Marcel Haßlinger 2021-03-15 19:24:20 +01:00
parent 976458ac33
commit a6446d9fb6
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,5 @@
package de.marhali.easyi18n;
import com.intellij.icons.AllIcons;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
@ -30,8 +29,6 @@ public class TranslatorToolWindowFactory implements ToolWindowFactory {
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) {
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance();
toolWindow.setIcon(AllIcons.Actions.InlayGlobe);
// Translations tree view
TreeView treeView = new TreeView(project);
Content treeContent = contentFactory.createContent(treeView.getRootPanel(),

View File

@ -0,0 +1,9 @@
<svg width="13" height="13" xmlns="http://www.w3.org/2000/svg">
<!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->
<g id="Layer_1">
<title>Layer 1</title>
<line stroke-linecap="null" stroke-linejoin="null" id="svg_16" y2="10.12481" x2="3.98555" y1="3.34971" x1="3.98555" opacity="undefined" fill-opacity="null" stroke-opacity="null" stroke-dasharray="null" stroke-width="null" stroke="#000000" fill="none"/>
<line stroke-linecap="null" stroke-linejoin="null" id="svg_17" y2="3.69653" x2="1.32659" y1="3.69653" x1="6.76012" opacity="undefined" fill-opacity="null" stroke-opacity="null" stroke-dasharray="null" stroke-width="null" stroke="#000000" fill="none"/>
<line stroke-linecap="null" stroke-linejoin="null" id="svg_21" y2="9.53468" x2="10.97977" y1="9.53468" x1="6.4711" opacity="undefined" fill-opacity="null" stroke-opacity="null" stroke-dasharray="null" stroke-width="null" stroke="#000000" fill="none"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 959 B