{"thread":{"id":"10761","subject":"[PATCH] gitk: Use a different background color for the active head.","startedAt":"2007-11-09T11:21:48Z","lastAt":"2007-11-09T11:21:48Z","messageCount":1,"participants":["Marco Colombo"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"59033","messageId":"473442CC.3050907@ed.ac.uk","threadId":"10761","inReplyTo":null,"subject":"[PATCH] gitk: Use a different background color for the active head.","fromName":"Marco Colombo","fromEmail":"m.colombo@ed.ac.uk","sentAt":"2007-11-09T11:21:48Z","receivedAt":"2007-11-09T11:21:48Z","isPatch":true,"sender":{"key":"m.colombo@ed.ac.uk","avatar":null},"body":"\n\n>From 7c7a8f6dbe5c4f96ddbc508fa4ab9c2dbae56d82 Mon Sep 17 00:00:00 2001\nFrom: Marco Colombo <m.colombo@ed.ac.uk>\nDate: Fri, 9 Nov 2007 10:19:01 +0000\nSubject: [PATCH] gitk: Use a different background color for the active head.\n\nCurrently the background color of all heads is green. The active head is\ndistinguished only by the use of a bold font. This patch changes the\nbackground color of the active head to orange, thus making it\nvisually more separate from the other heads.\n\nSigned-off-by: Marco Colombo <m.colombo@ed.ac.uk>\n---\n gitk |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\ndiff --git a/gitk b/gitk\nindex 1da0b0a..dacbc31 100755\n--- a/gitk\n+++ b/gitk\n@@ -4038,6 +4038,7 @@ proc drawtags {id x xt y1} {\n \t    if {[incr nheads -1] >= 0} {\n \t\tset col green\n \t\tif {$tag eq $mainhead} {\n+\t\t    set col orange\n \t\t    set font mainfontbold\n \t\t}\n \t    } else {\n-- \n1.5.3.4\n\n"}]}