gitk: Move hard-coded colors to .gitk
commit252c52df9d8d34692cb98a001491dd448e705901
authorGauthier Östervall <gauthier@ostervall.se>
Wed, 27 Mar 2013 13:40:51 +0000 (27 14:40 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 1 Apr 2013 06:57:23 +0000 (1 17:57 +1100)
tree05a72f99812eafc45451be9238924490bb7ef362
parenta8b38d95715c4bfacca7ddac67f7eb51a4cf5055
gitk: Move hard-coded colors to .gitk

The Preferences dialog gives control of the colors of some elements of
the gitk user interface, but many are hard-coded in the gitk script.
In order to allow these to be customized through the gitk config
file, these other colors are stored in variables which can be set
in the config file, thus providing a way for color schemes to be stored
and shared.

For win32, this makes the default foreground color that of window text
rather than button text.

Signed-off-by: Gauthier Östervall <gauthier@ostervall.se>
[paulus@samba.org: Reworded commit message to be clearer,
 changed filesepfgcolor to black]
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk