mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Sync upgrade icons so they are the same for packages and their table (PY-30308)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package com.intellij.webcore.packaging;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.ActivityTracker;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.CommonShortcuts;
|
||||
@@ -575,7 +574,7 @@ public class InstalledPackagesPanel extends JPanel {
|
||||
boolean update = column == 2 &&
|
||||
StringUtil.isNotEmpty(availableVersion) &&
|
||||
isUpdateAvailable(version, availableVersion);
|
||||
cell.setIcon(update ? AllIcons.Vcs.Arrow_right : null);
|
||||
cell.setIcon(update ? IconUtil.getMoveUpIcon() : null);
|
||||
final Object pyPackage = table.getValueAt(row, 0);
|
||||
if (pyPackage instanceof InstalledPackage) {
|
||||
cell.setToolTipText(((InstalledPackage) pyPackage).getTooltipText());
|
||||
|
||||
Reference in New Issue
Block a user