mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
use JetIcons instead of direct icon reference
GitOrigin-RevId: c410bf7073c2cbca8591c0ea80b8b473211127cb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d5881aaf99
commit
fea2b4e944
+2
-2
@@ -19,11 +19,11 @@ package org.jetbrains.kotlin.idea.actions
|
||||
import com.intellij.openapi.actionSystem.AnAction
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys
|
||||
import com.intellij.openapi.util.IconLoader
|
||||
import com.intellij.openapi.wm.ToolWindowAnchor
|
||||
import com.intellij.openapi.wm.ToolWindowManager
|
||||
import com.intellij.ui.content.ContentFactory
|
||||
import org.jetbrains.kotlin.idea.JetFileType
|
||||
import org.jetbrains.kotlin.idea.JetIcons
|
||||
import org.jetbrains.kotlin.idea.internal.KotlinBytecodeToolWindow
|
||||
|
||||
public class ShowKotlinBytecodeAction(): AnAction() {
|
||||
@@ -36,7 +36,7 @@ public class ShowKotlinBytecodeAction(): AnAction() {
|
||||
var toolWindow = toolWindowManager.getToolWindow(TOOLWINDOW_ID)
|
||||
if (toolWindow == null) {
|
||||
toolWindow = toolWindowManager.registerToolWindow("Kotlin Bytecode", true, ToolWindowAnchor.RIGHT)
|
||||
toolWindow.setIcon(IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin13.png"))
|
||||
toolWindow.setIcon(JetIcons.SMALL_LOGO_13)
|
||||
|
||||
val contentManager = toolWindow.getContentManager()
|
||||
val contentFactory = ContentFactory.SERVICE.getInstance()
|
||||
|
||||
Reference in New Issue
Block a user