From 4d7fb5e55a798fa5e09d013038635a511e6238c0 Mon Sep 17 00:00:00 2001 From: Nikita Iarychenko Date: Mon, 31 Mar 2025 11:18:58 +0400 Subject: [PATCH] OPENIDE #141 Remove jetbrains from OpenIDE icon tooltip on linux --- .../org/jetbrains/intellij/build/impl/BuildTasksImpl.kt | 7 +++++-- platform/platform-impl/src/com/intellij/ui/AppUIUtil.kt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/platform/build-scripts/src/org/jetbrains/intellij/build/impl/BuildTasksImpl.kt b/platform/build-scripts/src/org/jetbrains/intellij/build/impl/BuildTasksImpl.kt index 38ff564e749d..a532e02af4e0 100644 --- a/platform/build-scripts/src/org/jetbrains/intellij/build/impl/BuildTasksImpl.kt +++ b/platform/build-scripts/src/org/jetbrains/intellij/build/impl/BuildTasksImpl.kt @@ -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 import com.intellij.openapi.util.SystemInfoRt @@ -899,7 +902,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 fun crossPlatformZip( diff --git a/platform/platform-impl/src/com/intellij/ui/AppUIUtil.kt b/platform/platform-impl/src/com/intellij/ui/AppUIUtil.kt index cbdb06b8ed47..694e6bb88cc3 100644 --- a/platform/platform-impl/src/com/intellij/ui/AppUIUtil.kt +++ b/platform/platform-impl/src/com/intellij/ui/AppUIUtil.kt @@ -58,7 +58,7 @@ import javax.swing.JComponent import javax.swing.border.Border import kotlin.math.roundToInt -private const val VENDOR_PREFIX = "jetbrains-" +private const val VENDOR_PREFIX = "" private var appIcons: MutableList? = null @Volatile