mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
OPENIDE #141 Remove jetbrains from OpenIDE icon tooltip on linux
(cherry picked from commit a55db14d46cb1bfd26306f1eddd720e4f0a4b78d) (cherry picked from commit34e7060c45) (cherry picked from commit878df19976) (cherry picked from commitc1080d8218) (cherry picked from commitf611b585f8)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
// Copyright 2000-2026 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.
|
||||
@file:Suppress("ReplacePutWithAssignment", "DestructuringForParameter")
|
||||
|
||||
package org.jetbrains.intellij.build.impl
|
||||
@@ -956,7 +959,7 @@ internal fun getLinuxFrameClass(context: BuildContext): String {
|
||||
.replace("-community-edition", "-ce")
|
||||
.replace("-ultimate-edition", "")
|
||||
.replace("-professional-edition", "")
|
||||
return if (name.startsWith("jetbrains-")) name else "jetbrains-$name"
|
||||
return if (name.startsWith("jetbrains-")) name else name
|
||||
}
|
||||
|
||||
private suspend fun crossPlatformZip(
|
||||
|
||||
@@ -82,7 +82,7 @@ import kotlin.math.roundToInt
|
||||
|
||||
@OptIn(LowLevelLocalMachineAccess::class)
|
||||
object AppUIUtil {
|
||||
private const val VENDOR_PREFIX = "jetbrains-"
|
||||
private const val VENDOR_PREFIX = ""
|
||||
private const val MAC_DOCK_ICON_BORDER = 25
|
||||
private var appIcons: List<Image>? = null
|
||||
private val isMacDocIconSet = AtomicBoolean(false)
|
||||
|
||||
Reference in New Issue
Block a user