diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-07 21:52:23 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-07 21:52:23 -0700 |
commit | fae09a8084c9b51632726523b477a78dd28d7d7e (patch) | |
tree | 05a6ce33b03d990ed8d9f6d0e8f1bca7516c5b4d /gitk-git | |
parent | f61cc48d289755065813db1fbbd18e6bb0836076 (diff) | |
parent | 80dd7b44970dee7d82fa735d2e0b828051f80545 (diff) | |
download | git-fae09a8084c9b51632726523b477a78dd28d7d7e.tar.gz git-fae09a8084c9b51632726523b477a78dd28d7d7e.tar.xz |
Merge git://git.kernel.org/pub/scm/gitk/gitk
* git://git.kernel.org/pub/scm/gitk/gitk:
gitk: Fix changing colors through Edit->Preferences
Diffstat (limited to 'gitk-git')
-rw-r--r-- | gitk-git/gitk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gitk-git/gitk b/gitk-git/gitk index 84ab02e15..9a4d9c40c 100644 --- a/gitk-git/gitk +++ b/gitk-git/gitk @@ -8045,11 +8045,11 @@ proc doprefs {} { 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 \ @@ -8069,7 +8069,7 @@ proc doprefs {} { 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"] |