author | Junio C Hamano <gitster@pobox.com> | |
Tue, 8 Apr 2008 04:52:23 +0000 (21:52 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 8 Apr 2008 04:52:23 +0000 (21:52 -0700) |
* git://git.kernel.org/pub/scm/gitk/gitk:
gitk: Fix changing colors through Edit->Preferences
gitk: Fix changing colors through Edit->Preferences
gitk-git/gitk | patch | blob | history |
diff --git a/gitk-git/gitk b/gitk-git/gitk
index 84ab02e15f6bdecdd04e8835e3aefd0875efea44..9a4d9c40cf6ec1bed01a2c2b950efb2d9887a8a5 100644 (file)
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
grid $top.cdisp - -sticky w -pady 10
label $top.bg -padx 40 -relief sunk -background $bgcolor
button $top.bgbut -text [mc "Background"] -font optionfont \
- -command [list choosecolor bgcolor 0 $top.bg background setbg]
+ -command [list choosecolor bgcolor {} $top.bg background setbg]
grid x $top.bgbut $top.bg -sticky w
label $top.fg -padx 40 -relief sunk -background $fgcolor
button $top.fgbut -text [mc "Foreground"] -font optionfont \
- -command [list choosecolor fgcolor 0 $top.fg foreground setfg]
+ -command [list choosecolor fgcolor {} $top.fg foreground setfg]
grid x $top.fgbut $top.fg -sticky w
label $top.diffold -padx 40 -relief sunk -background [lindex $diffcolors 0]
button $top.diffoldbut -text [mc "Diff: old lines"] -font optionfont \
grid x $top.hunksepbut $top.hunksep -sticky w
label $top.selbgsep -padx 40 -relief sunk -background $selectbgcolor
button $top.selbgbut -text [mc "Select bg"] -font optionfont \
- -command [list choosecolor selectbgcolor 0 $top.selbgsep background setselbg]
+ -command [list choosecolor selectbgcolor {} $top.selbgsep background setselbg]
grid x $top.selbgbut $top.selbgsep -sticky w
label $top.cfont -text [mc "Fonts: press to choose"]