mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
OPENIDE #141 Remove jetbrains from OpenIDE icon tooltip on linux
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||||
|
//
|
||||||
|
// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru).
|
||||||
|
// Any modifications are available on the same license terms as the original source code.
|
||||||
package org.jetbrains.intellij.build.impl
|
package org.jetbrains.intellij.build.impl
|
||||||
|
|
||||||
import com.intellij.openapi.util.SystemInfoRt
|
import com.intellij.openapi.util.SystemInfoRt
|
||||||
@@ -899,7 +902,7 @@ internal fun getLinuxFrameClass(context: BuildContext): String {
|
|||||||
.replace("-community-edition", "-ce")
|
.replace("-community-edition", "-ce")
|
||||||
.replace("-ultimate-edition", "")
|
.replace("-ultimate-edition", "")
|
||||||
.replace("-professional-edition", "")
|
.replace("-professional-edition", "")
|
||||||
return if (name.startsWith("jetbrains-")) name else "jetbrains-$name"
|
return if (name.startsWith("jetbrains-")) name else name
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun crossPlatformZip(
|
private fun crossPlatformZip(
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ import javax.swing.JComponent
|
|||||||
import javax.swing.border.Border
|
import javax.swing.border.Border
|
||||||
import kotlin.math.roundToInt
|
import kotlin.math.roundToInt
|
||||||
|
|
||||||
private const val VENDOR_PREFIX = "jetbrains-"
|
private const val VENDOR_PREFIX = ""
|
||||||
private var appIcons: MutableList<Image?>? = null
|
private var appIcons: MutableList<Image?>? = null
|
||||||
|
|
||||||
@Volatile
|
@Volatile
|
||||||
|
|||||||
Reference in New Issue
Block a user