From: Mark Levedahl <mdl123@verizon.net>
To: paulus@samba.org
Cc: git@vger.kernel.org, Mark Levedahl <mdl123@verizon.net>
Subject: [PATCH] gitk - Use a spinbox for setting tabstop settings
Date: Tue, 26 Jun 2007 21:51:35 -0400 [thread overview]
Message-ID: <118290910058-git-send-email-mdl123@verizon.net> (raw)
In-Reply-To: <11829090952211-git-send-email-mdl123@verizon.net>
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>
---
gitk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gitk b/gitk
index c06d327..2d6a6ef 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"
--
1.5.2.2.282.g9826
prev parent reply other threads:[~2007-06-27 1:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 16:05 Mark Levedahl's gitk patches Johannes Sixt
2007-06-26 2:41 ` Mark Levedahl
2007-06-26 2:43 ` [PATCH] gitk - Make selection highlight color configurable Mark Levedahl
2007-06-26 2:43 ` [PATCH] gitk - Update fontsize in patch / tree list Mark Levedahl
2007-06-26 2:43 ` [PATCH] gitk - Allow specifying tabstop as other than default 8 characters Mark Levedahl
2007-06-26 17:54 ` [PATCH] gitk - Make selection highlight color configurable Brian Downing
2007-06-26 4:02 ` Mark Levedahl's gitk patches Paul Mackerras
2007-06-27 0:41 ` Junio C Hamano
2007-06-28 0:15 ` Paul Mackerras
2007-06-27 1:51 ` [PATCH] gitk - bugfix - Update selection background colorbar in prefs dialog Mark Levedahl
2007-06-27 1:51 ` Mark Levedahl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=118290910058-git-send-email-mdl123@verizon.net \
--to=mdl123@verizon.net \
--cc=git@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).