OPENIDE #141 Remove jetbrains from OpenIDE icon tooltip on linux

This commit is contained in:
Nikita Iarychenko
2025-03-31 11:18:58 +04:00
parent e378e1cc77
commit 4d7fb5e55a
2 changed files with 6 additions and 3 deletions

View File

@@ -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(

View File

@@ -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