summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 75eb2af)
raw | patch | inline | side by side (parent: 75eb2af)
author | Mark Hills <mark@pogo.org.uk> | |
Wed, 13 Jan 2010 20:40:19 +0000 (20:40 +0000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 20 Mar 2010 09:53:21 +0000 (20:53 +1100) |
Use the X resources to set the font, removing the need to set the font
for specific widgets.
Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
for specific widgets.
Signed-off-by: Mark Hills <mark@pogo.org.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 59970aff39a4cee3f905bd522f3ea1fcbb89a4f6..f1e70ad04714e87efffaa6ccbd25e4c81b321624 100755 (executable)
--- a/gitk
+++ b/gitk
option add *Message.font uifont startupFile
option add *Entry.font uifont startupFile
option add *Labelframe.font uifont startupFile
+ option add *Spinbox.font textfont startupFile
}
# Make a menu and submenus.
-command changediffdisp -variable diffelide -value {1 0}
${NS}::label .bleft.mid.labeldiffcontext -text " [mc "Lines of context"]: "
pack .bleft.mid.diff .bleft.mid.old .bleft.mid.new -side left
- spinbox .bleft.mid.diffcontext -width 5 -font textfont \
+ spinbox .bleft.mid.diffcontext -width 5 \
-from 0 -increment 1 -to 10000000 \
-validate all -validatecommand "diffcontextvalidate %P" \
-textvariable diffcontextstring