@@ -648,8 +648,10 @@ proc makewindow {} {
648648 frame .bright.mode
649649 radiobutton .bright.mode.patch -text " Patch" \
650650 -command reselectline -variable cmitmode -value " patch"
651+ .bright.mode.patch configure -font $uifont
651652 radiobutton .bright.mode.tree -text " Tree" \
652653 -command reselectline -variable cmitmode -value " tree"
654+ .bright.mode.tree configure -font $uifont
653655 grid .bright.mode.patch .bright.mode.tree -sticky ew
654656 pack .bright.mode -side top -fill x
655657 set cflist .bright.cfiles
@@ -922,6 +924,7 @@ proc bindall {event action} {
922924}
923925
924926proc about {} {
927+ global uifont
925928 set w .about
926929 if {[winfo exists $w ]} {
927930 raise $w
@@ -937,11 +940,14 @@ Copyright
937940Use and redistribute under the terms of the GNU General Public License} \
938941 -justify center -aspect 400
939942 pack $w .m -side top -fill x -padx 20 -pady 20
943+ $w .m configure -font $uifont
940944 button $w .ok -text Close -command " destroy $w "
941945 pack $w .ok -side bottom
946+ $w .ok configure -font $uifont
942947}
943948
944949proc keys {} {
950+ global uifont
945951 set w .keys
946952 if {[winfo exists $w ]} {
947953 raise $w
@@ -990,8 +996,10 @@ f Scroll diff view to next file
990996} \
991997 -justify left -bg white -border 2 -relief sunken
992998 pack $w .m -side top -fill both
999+ $w .m configure -font $uifont
9931000 button $w .ok -text Close -command " destroy $w "
9941001 pack $w .ok -side bottom
1002+ $w .ok configure -font $uifont
9951003}
9961004
9971005# Procedures for manipulating the file list window at the
@@ -1457,20 +1465,21 @@ proc vieweditor {top n title} {
14571465 toplevel $top
14581466 wm title $top $title
14591467 label $top .nl -text " Name" -font $uifont
1460- entry $top .name -width 20 -textvariable newviewname($n )
1468+ entry $top .name -width 20 -textvariable newviewname($n ) -font $uifont
14611469 grid $top .nl $top .name -sticky w -pady 5
1462- checkbutton $top .perm -text " Remember this view" -variable newviewperm($n )
1470+ checkbutton $top .perm -text " Remember this view" -variable newviewperm($n ) \
1471+ -font $uifont
14631472 grid $top .perm - -pady 5 -sticky w
14641473 message $top .al -aspect 1000 -font $uifont \
14651474 -text " Commits to include (arguments to git rev-list):"
14661475 grid $top .al - -sticky w -pady 5
14671476 entry $top .args -width 50 -textvariable newviewargs($n ) \
1468- -background white
1477+ -background white -font $uifont
14691478 grid $top .args - -sticky ew -padx 5
14701479 message $top .l -aspect 1000 -font $uifont \
14711480 -text " Enter files and directories to include, one per line:"
14721481 grid $top .l - -sticky w
1473- text $top .t -width 40 -height 10 -background white
1482+ text $top .t -width 40 -height 10 -background white -font $uifont
14741483 if {[info exists viewfiles($n )]} {
14751484 foreach f $viewfiles($n) {
14761485 $top .t insert end $f
@@ -1481,8 +1490,10 @@ proc vieweditor {top n title} {
14811490 }
14821491 grid $top .t - -sticky ew -padx 5
14831492 frame $top .buts
1484- button $top .buts.ok -text " OK" -command [list newviewok $top $n ]
1485- button $top .buts.can -text " Cancel" -command [list destroy $top ]
1493+ button $top .buts.ok -text " OK" -command [list newviewok $top $n ] \
1494+ -font $uifont
1495+ button $top .buts.can -text " Cancel" -command [list destroy $top ] \
1496+ -font $uifont
14861497 grid $top .buts.ok $top .buts.can
14871498 grid columnconfigure $top .buts 0 -weight 1 -uniform a
14881499 grid columnconfigure $top .buts 1 -weight 1 -uniform a
@@ -5813,6 +5824,7 @@ proc doprefs {} {
58135824 global maxwidth maxgraphpct diffopts
58145825 global oldprefs prefstop showneartags
58155826 global bgcolor fgcolor ctext diffcolors
5827+ global uifont
58165828
58175829 set top .gitkprefs
58185830 set prefstop $top
@@ -5826,6 +5838,7 @@ proc doprefs {} {
58265838 toplevel $top
58275839 wm title $top " Gitk preferences"
58285840 label $top .ldisp -text " Commit list display options"
5841+ $top .ldisp configure -font $uifont
58295842 grid $top .ldisp - -sticky w -pady 10
58305843 label $top .spacer -text " "
58315844 label $top .maxwidthl -text " Maximum graph width (lines)" \
@@ -5838,6 +5851,7 @@ proc doprefs {} {
58385851 grid x $top .maxpctl $top .maxpct -sticky w
58395852
58405853 label $top .ddisp -text " Diff display options"
5854+ $top .ddisp configure -font $uifont
58415855 grid $top .ddisp - -sticky w -pady 10
58425856 label $top .diffoptl -text " Options for diff program" \
58435857 -font optionfont
@@ -5850,6 +5864,7 @@ proc doprefs {} {
58505864 grid x $top .ntag -sticky w
58515865
58525866 label $top .cdisp -text " Colors: press to choose"
5867+ $top .cdisp configure -font $uifont
58535868 grid $top .cdisp - -sticky w -pady 10
58545869 label $top .bg -padx 40 -relief sunk -background $bgcolor
58555870 button $top .bgbut -text " Background" -font optionfont \
@@ -5878,7 +5893,9 @@ proc doprefs {} {
58785893
58795894 frame $top .buts
58805895 button $top .buts.ok -text " OK" -command prefsok
5896+ $top .buts.ok configure -font $uifont
58815897 button $top .buts.can -text " Cancel" -command prefscan
5898+ $top .buts.can configure -font $uifont
58825899 grid $top .buts.ok $top .buts.can
58835900 grid columnconfigure $top .buts 0 -weight 1 -uniform a
58845901 grid columnconfigure $top .buts 1 -weight 1 -uniform a
0 commit comments