aboutsummaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorMark Levedahl <mdl123@verizon.net>2007-06-26 21:51:35 -0400
committerPaul Mackerras <paulus@samba.org>2007-06-28 10:08:53 +1000
commit6bc9d1e2e75a68a6027d1f78a95c9ddbbe1d1dfd (patch)
tree75c11e678fc914351733fffe4acbef54536b93cd /gitk
parent706d6c3e76fc5f7f988b056015689b489eb8f6b5 (diff)
downloadgit-6bc9d1e2e75a68a6027d1f78a95c9ddbbe1d1dfd.tar.gz
git-6bc9d1e2e75a68a6027d1f78a95c9ddbbe1d1dfd.tar.xz
gitk: Use a spinbox for setting tabstop settings
The tabstop must be a smallish positive integer, and a spinbox is the accepted UI control to accomplish this limiting rather than the text entry box previously used. 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 269f9b08a..f1b80ff39 100755
--- a/gitk
+++ b/gitk
@@ -6972,7 +6972,7 @@ proc doprefs {} {
pack $top.ntag.b $top.ntag.l -side left
grid x $top.ntag -sticky w
label $top.tabstopl -text "tabstop" -font optionfont
- entry $top.tabstop -width 10 -textvariable tabstop
+ spinbox $top.tabstop -from 1 -to 20 -width 4 -textvariable tabstop
grid x $top.tabstopl $top.tabstop -sticky w
label $top.cdisp -text "Colors: press to choose"