mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] fix IAE in commit details in GTK: use gray_128 for committer and commit date
Replace disabled button color, which is null for GTK, with gray_128 color as specified in IDEA-160683. Fixes IDEA-161650.
This commit is contained in:
@@ -23,6 +23,7 @@ import com.intellij.openapi.vcs.changes.issueLinks.IssueLinkHtmlRenderer;
|
||||
import com.intellij.openapi.vcs.ui.FontUtil;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.ui.ColorUtil;
|
||||
import com.intellij.ui.JBColor;
|
||||
import com.intellij.ui.UI;
|
||||
import com.intellij.ui.components.JBPanel;
|
||||
import com.intellij.ui.components.JBScrollPane;
|
||||
@@ -301,7 +302,7 @@ class CommitPanel extends JBPanel {
|
||||
@NotNull
|
||||
private static String getCommitterText(@Nullable VcsUser committer, @NotNull String commitTimeText, int offset) {
|
||||
String alignment = "<br/>" + StringUtil.repeat(" ", offset);
|
||||
String gray = ColorUtil.toHex(UIManager.getColor("Button.disabledText"));
|
||||
String gray = ColorUtil.toHex(JBColor.GRAY);
|
||||
|
||||
String graySpan = "<span style='color:#" + gray + "'>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user