To avoid the highlight effect when the table row is selected.
Signed-off-by: Roger C. Soares <rogersoares@intelinet.com.br>
---
.../egit/ui/internal/history/CommitGraphTable.java | 2 +-
.../egit/ui/internal/history/SWTPlotRenderer.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/CommitGraphTable.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/CommitGraphTable.java
index d20db77..e2bdb13 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/CommitGraphTable.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/CommitGraphTable.java
@@ -232,7 +232,7 @@ class CommitGraphTable {
final Point textsz = event.gc.textExtent(txt);
final int texty = (event.height - textsz.y) / 2;
- event.gc.drawString(txt, event.x, event.y + texty);
+ event.gc.drawString(txt, event.x, event.y + texty, true);
}
/**
diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java
index 45660be..1a14719 100644
--- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java
+++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/history/SWTPlotRenderer.java
@@ -77,7 +77,7 @@ class SWTPlotRenderer extends AbstractPlotRenderer<SWTLane, Color> {
final int texty = (y * 2 - textsz.y) / 2;
g.setForeground(cellFG);
g.setBackground(cellBG);
- g.drawString(msg, cellX + x, cellY + texty);
+ g.drawString(msg, cellX + x, cellY + texty, true);
}
protected Color laneColor(final SWTLane myLane) {
--
1.5.4.1
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html