* [PATCH 3/5] Chase remaining default font errors in the gitk dialogs.
@ 2007-03-26 7:38 Eygene Ryabinkin
0 siblings, 0 replies; only message in thread
From: Eygene Ryabinkin @ 2007-03-26 7:38 UTC (permalink / raw)
To: git
The dialog activated by the "View/New view..." menu entry was fixed
to respect the default UI font for its elements.
Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru>
---
gitk | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/gitk b/gitk
index e4d3bf4..f54ff27 100755
--- a/gitk
+++ b/gitk
@@ -1465,20 +1465,21 @@ proc vieweditor {top n title} {
toplevel $top
wm title $top $title
label $top.nl -text "Name" -font $uifont
- entry $top.name -width 20 -textvariable newviewname($n)
+ entry $top.name -width 20 -textvariable newviewname($n) -font $uifont
grid $top.nl $top.name -sticky w -pady 5
- checkbutton $top.perm -text "Remember this view" -variable newviewperm($n)
+ checkbutton $top.perm -text "Remember this view" -variable newviewperm($n) \
+ -font $uifont
grid $top.perm - -pady 5 -sticky w
message $top.al -aspect 1000 -font $uifont \
-text "Commits to include (arguments to git rev-list):"
grid $top.al - -sticky w -pady 5
entry $top.args -width 50 -textvariable newviewargs($n) \
- -background white
+ -background white -font $uifont
grid $top.args - -sticky ew -padx 5
message $top.l -aspect 1000 -font $uifont \
-text "Enter files and directories to include, one per line:"
grid $top.l - -sticky w
- text $top.t -width 40 -height 10 -background white
+ text $top.t -width 40 -height 10 -background white -font $uifont
if {[info exists viewfiles($n)]} {
foreach f $viewfiles($n) {
$top.t insert end $f
@@ -1489,8 +1490,10 @@ proc vieweditor {top n title} {
}
grid $top.t - -sticky ew -padx 5
frame $top.buts
- button $top.buts.ok -text "OK" -command [list newviewok $top $n]
- button $top.buts.can -text "Cancel" -command [list destroy $top]
+ button $top.buts.ok -text "OK" -command [list newviewok $top $n] \
+ -font $uifont
+ button $top.buts.can -text "Cancel" -command [list destroy $top] \
+ -font $uifont
grid $top.buts.ok $top.buts.can
grid columnconfigure $top.buts 0 -weight 1 -uniform a
grid columnconfigure $top.buts 1 -weight 1 -uniform a
--
1.5.0.3-dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-26 7:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-26 7:38 [PATCH 3/5] Chase remaining default font errors in the gitk dialogs Eygene Ryabinkin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.