Skip to content

Commit 8d75e2a

Browse files
committed
fix: compatibility patch
1 parent 8bbf7ba commit 8d75e2a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/main/kotlin/com/github/xepozz/php_dump/CompositeWindowFactory.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ import com.intellij.openapi.project.Project
1010
import com.intellij.openapi.wm.ToolWindow
1111
import com.intellij.openapi.wm.ToolWindowFactory
1212
import com.intellij.ui.content.ContentFactory
13-
import javax.swing.Icon
1413

1514
open class CompositeWindowFactory : ToolWindowFactory, DumbAware {
16-
override val icon: Icon?
17-
get() = PhpDumpIcons.POT
18-
1915
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
2016
val contentFactory = ContentFactory.getInstance()
2117
val contentManager = toolWindow.contentManager

src/main/resources/META-INF/plugin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
<extensions defaultExtensionNs="com.intellij">
1414
<toolWindow
1515
factoryClass="com.github.xepozz.php_dump.CompositeWindowFactory"
16-
id="PHP Dump" anchor="right" secondary="false"/>
16+
id="PHP Dump" anchor="right" secondary="false" icon="/icons/pot.svg"/>
1717
</extensions>
1818
<projectListeners>
1919
<listener class="com.github.xepozz.php_dump.startup.ProjectFileEditorListener"
20-
topic="com.intellij.openapi.fileEditor.FileEditorManagerListener" />
20+
topic="com.intellij.openapi.fileEditor.FileEditorManagerListener"/>
2121
</projectListeners>
2222
</idea-plugin>

0 commit comments

Comments
 (0)