summaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorMark Levedahl <mdl123@verizon.net>2007-06-27 01:51:34 (GMT)
committerPaul Mackerras <paulus@samba.org>2007-06-28 00:08:53 (GMT)
commit281404ca1db4c921ac162f3c03ae0688d25c5a65 (patch)
tree6bc7ee4f4cab99db1683fbec40eaaa08aab3283f /gitk
parent6bc9d1e2e75a68a6027d1f78a95c9ddbbe1d1dfd (diff)
downloadgit-281404ca1db4c921ac162f3c03ae0688d25c5a65.zip
git-281404ca1db4c921ac162f3c03ae0688d25c5a65.tar.gz
git-281404ca1db4c921ac162f3c03ae0688d25c5a65.tar.bz2
gitk: Update selection background colorbar in prefs dialog
The callback function was incorrectly set to update the background colorbar when updated the selection background. This did not affect the colors chosen or their use, just their presentation in the preferences dialog box. Signed-off-by: Mark Levedahl <mdl123@verizon.net>
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index f1b80ff..2d6a6ef 100755
--- a/gitk
+++ b/gitk
@@ -7004,7 +7004,7 @@ proc doprefs {} {
grid x $top.hunksepbut $top.hunksep -sticky w
label $top.selbgsep -padx 40 -relief sunk -background $selectbgcolor
button $top.selbgbut -text "Select bg" -font optionfont \
- -command [list choosecolor selectbgcolor 0 $top.bg background setselbg]
+ -command [list choosecolor selectbgcolor 0 $top.selbgsep background setselbg]
grid x $top.selbgbut $top.selbgsep -sticky w
frame $top.buts