Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitk: Color name update
author
YOKOTA Hiroshi
<yokota@netlab.cs.tsukuba.ac.jp>
Sat, 24 Oct 2015 16:58:41 +0000
(
01:58
+0900)
committer
YOKOTA Hiroshi
<yokota@netlab.cs.tsukuba.ac.jp>
Thu, 12 Nov 2015 03:54:49 +0000
(12:54 +0900)
Color name "green" was darken since Tcl/Tk 7.6.
Because color name scheme was changed from "X11 colors" to "Web colors".
Use "lime" to keep colors.
See also:
http://www.tcl.tk/cgi-bin/tct/tip/403.html
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
gitk
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
d70c034
)
diff --git
a/gitk
b/gitk
index fcc606eab7353e67f82de873c3532cefc137a9e5..d4fdad3cc1bb106377d3ce7b16f2aed6fdb48d5d 100755
(executable)
--- a/
gitk
+++ b/
gitk
@@
-2251,7
+2251,7
@@
proc makewindow {} {
set h [expr {[font metrics uifont -linespace] + 2}]
set progresscanv .tf.bar.progress
canvas $progresscanv -relief sunken -height $h -borderwidth 2
set h [expr {[font metrics uifont -linespace] + 2}]
set progresscanv .tf.bar.progress
canvas $progresscanv -relief sunken -height $h -borderwidth 2
- set progressitem [$progresscanv create rect -1 0 0 $h -fill
green
]
+ set progressitem [$progresscanv create rect -1 0 0 $h -fill
lime
]
set fprogitem [$progresscanv create rect -1 0 0 $h -fill yellow]
set rprogitem [$progresscanv create rect -1 0 0 $h -fill red]
}
set fprogitem [$progresscanv create rect -1 0 0 $h -fill yellow]
set rprogitem [$progresscanv create rect -1 0 0 $h -fill red]
}
@@
-3379,7
+3379,7
@@
set rectmask {
0x00, 0x00, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f,
0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f, 0x00, 0x00};
}
0x00, 0x00, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f,
0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f, 0xfc, 0x0f, 0x00, 0x00};
}
-image create bitmap reficon-H -background black -foreground
green
\
+image create bitmap reficon-H -background black -foreground
lime
\
-data $rectdata -maskdata $rectmask
image create bitmap reficon-o -background black -foreground "#ddddff" \
-data $rectdata -maskdata $rectmask
-data $rectdata -maskdata $rectmask
image create bitmap reficon-o -background black -foreground "#ddddff" \
-data $rectdata -maskdata $rectmask
@@
-12170,7
+12170,7
@@
if {[tk windowingsystem] eq "aqua"} {
set extdifftool "meld"
}
set extdifftool "meld"
}
-set colors {
green
red blue magenta darkgrey brown orange}
+set colors {
lime
red blue magenta darkgrey brown orange}
if {[tk windowingsystem] eq "win32"} {
set uicolor SystemButtonFace
set uifgcolor SystemButtonText
if {[tk windowingsystem] eq "win32"} {
set uicolor SystemButtonFace
set uifgcolor SystemButtonText
@@
-12188,12
+12188,12
@@
if {[tk windowingsystem] eq "win32"} {
}
set diffcolors {red "#00a000" blue}
set diffcontext 3
}
set diffcolors {red "#00a000" blue}
set diffcontext 3
-set mergecolors {red blue
green
purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
+set mergecolors {red blue
lime
purple brown "#009090" magenta "#808000" "#009000" "#ff0080" cyan "#b07070" "#70b0f0" "#70f0b0" "#f0b070" "#ff70b0"}
set ignorespace 0
set worddiff ""
set markbgcolor "#e0e0ff"
set ignorespace 0
set worddiff ""
set markbgcolor "#e0e0ff"
-set headbgcolor
green
+set headbgcolor
lime
set headfgcolor black
set headoutlinecolor black
set remotebgcolor #ffddaa
set headfgcolor black
set headoutlinecolor black
set remotebgcolor #ffddaa
@@
-12208,7
+12208,7
@@
set linehoverfgcolor black
set linehoveroutlinecolor black
set mainheadcirclecolor yellow
set workingfilescirclecolor red
set linehoveroutlinecolor black
set mainheadcirclecolor yellow
set workingfilescirclecolor red
-set indexcirclecolor
green
+set indexcirclecolor
lime
set circlecolors {white blue gray blue blue}
set linkfgcolor blue
set circleoutlinecolor $fgcolor
set circlecolors {white blue gray blue blue}
set linkfgcolor blue
set circleoutlinecolor $fgcolor