summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d11f79)
raw | patch | inline | side by side (parent: 5d11f79)
author | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Fri, 12 Mar 2010 18:31:47 +0000 (18:31 +0000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 20 Mar 2010 09:53:21 +0000 (20:53 +1100) |
This just messes up the system colors. Leave them alone.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 8a4f7275355049ea514bed73dbf4b6109513c091..ba91bba7e85eb1894f5f7e2295bc3fc95e900abd 100755 (executable)
--- a/gitk
+++ b/gitk
# radiobuttons look bad. This chooses white for selectColor if the
# background color is light, or black if it is dark.
proc setui {c} {
+ if {[tk windowingsystem] eq "win32"} { return }
set bg [winfo rgb . $c]
set selc black
if {[lindex $bg 0] + 1.5 * [lindex $bg 1] + 0.5 * [lindex $bg 2] > 100000} {