diff --git a/platform/icons/src/general/combo.png b/platform/icons/src/general/combo.png index 26de9ab36529..68af914f9797 100644 Binary files a/platform/icons/src/general/combo.png and b/platform/icons/src/general/combo.png differ diff --git a/platform/platform-impl/src/com/intellij/openapi/wm/impl/content/ContentComboLabel.java b/platform/platform-impl/src/com/intellij/openapi/wm/impl/content/ContentComboLabel.java index 1cb07de0e06e..1d4f8cab7dbd 100644 --- a/platform/platform-impl/src/com/intellij/openapi/wm/impl/content/ContentComboLabel.java +++ b/platform/platform-impl/src/com/intellij/openapi/wm/impl/content/ContentComboLabel.java @@ -50,7 +50,6 @@ public class ContentComboLabel extends BaseLabel { public ContentComboLabel(ComboContentLayout layout) { super(layout.myUi, true); myLayout = layout; - addMouseListener(new MouseAdapter(){}); } @@ -64,6 +63,8 @@ public class ContentComboLabel extends BaseLabel { } private void showPopup() { + if (!isToDrawCombo()) return; + final ContentManager manager = myUi.myManager; BaseListPopupStep step = new BaseListPopupStep(null, manager.getContents()) { @Override @@ -150,6 +151,12 @@ public class ContentComboLabel extends BaseLabel { super.paintChildren(g); if (isToDrawCombo()) { myComboIcon.paintIcon(this, g); + g.setColor(new Color(255, 255, 255, 100)); + int x = myComboIcon.getIconRec().x - 3; + int yTop = myComboIcon.getIconRec().y; + int yBottom = yTop + myComboIcon.getIconHeight(); + g.drawLine(x, yTop + 1, x, yBottom - 3); + } }