Skip to content

Commit a482f37

Browse files
committed
Merge branch 'q'
2 parents dbfd64c + 8d75e2a commit a482f37

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
@@ -8,12 +8,8 @@ import com.intellij.openapi.project.Project
88
import com.intellij.openapi.wm.ToolWindow
99
import com.intellij.openapi.wm.ToolWindowFactory
1010
import com.intellij.ui.content.ContentFactory
11-
import javax.swing.Icon
1211

1312
open class CompositeWindowFactory : ToolWindowFactory, DumbAware {
14-
override val icon: Icon?
15-
get() = PhpDumpIcons.POT
16-
1713
override fun createToolWindowContent(project: Project, toolWindow: ToolWindow) {
1814
val contentFactory = ContentFactory.getInstance()
1915
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)