[PATCH] hgk: define bookmark colour explicitly, as Tk 8.6 has changed their meaning
Andrew Shadura
andrew at shadura.me
Sun Sep 28 06:27:43 CDT 2014
# HG changeset patch
# User Andrew Shadura <andrew at shadura.me>
# Date 1411903660 -7200
# Sun Sep 28 13:27:40 2014 +0200
# Node ID dd7041b135cfd4bc1f090a2ee98e30735d738fc5
# Parent 4109cc16279ef0e04dc70e7f4c9ab7415e6a22d3
hgk: define bookmark colour explicitly, as Tk 8.6 has changed their meaning
diff --git a/contrib/hgk b/contrib/hgk
--- a/contrib/hgk
+++ b/contrib/hgk
@@ -1271,9 +1271,9 @@ proc drawtags {id x xt y1} {
set rowtextx($idline($id)) [expr {$xr + $linespc}]
} elseif {[incr nbookmarks -1] >= 0} {
# draw a tag
- set col gray50
+ set col "#7f7f7f"
if {[string compare $bookmarkcurrent $tag] == 0} {
- set col gray
+ set col "#bebebe"
}
set xl [expr $xl - $delta/2]
$canv create polygon $x $yt $xr $yt $xr $yb $x $yb \
More information about the Mercurial-devel
mailing list