Skip to content

Commit 6ab5693

Browse files
committed
Merge branch 'master' of https://github.com/j6t/gitk
* 'master' of https://github.com/j6t/gitk: gitk: do not hard-code color of search results in commit list gitk: place file name arguments after options in msgfmt call gitk: Legacy widgets doesn't have combobox
2 parents b32feae + bfb0fa7 commit 6ab5693

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

gitk-git/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ update-po:: $(PO_TEMPLATE)
7373
$(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; )
7474
$(ALL_MSGFILES): %.msg : %.po
7575
@echo Generating catalog $@
76-
$(MSGFMT) --statistics --tcl $< -l $(basename $(notdir $<)) -d $(dir $@)
76+
$(MSGFMT) --statistics --tcl -l $(basename $(notdir $<)) -d $(dir $@) $<
7777

7878
.PHONY: all install uninstall clean update-po
7979
.PHONY: FORCE

gitk-git/gitk

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7108,7 +7108,7 @@ proc findselectline {l} {
71087108
71097109
# mark the bits of a headline or author that match a find string
71107110
proc markmatches {canv l str tag matches font row} {
7111-
global selectedline
7111+
global selectedline foundbgcolor
71127112
71137113
set bbox [$canv bbox $tag]
71147114
set x0 [lindex $bbox 0]
@@ -7122,7 +7122,7 @@ proc markmatches {canv l str tag matches font row} {
71227122
set xlen [font measure $font [string range $str 0 [expr {$end}]]]
71237123
set t [$canv create rect [expr {$x0+$xoff}] $y0 \
71247124
[expr {$x0+$xlen+2}] $y1 \
7125-
-outline {} -tags [list match$l matches] -fill yellow]
7125+
-outline {} -tags [list match$l matches] -fill $foundbgcolor]
71267126
$canv lower $t
71277127
if {$row == $selectedline} {
71287128
$canv raise $t secsel
@@ -11736,13 +11736,11 @@ proc prefspage_general {notebook} {
1173611736
grid x $page.tabstopl $page.tabstop -sticky w
1173711737
1173811738
${NS}::label $page.wrapcommentl -text [mc "Wrap comment text"]
11739-
${NS}::combobox $page.wrapcomment -values {none char word} -state readonly \
11740-
-textvariable wrapcomment
11739+
makedroplist $page.wrapcomment wrapcomment none char word
1174111740
grid x $page.wrapcommentl $page.wrapcomment -sticky w
1174211741
1174311742
${NS}::label $page.wrapdefaultl -text [mc "Wrap other text"]
11744-
${NS}::combobox $page.wrapdefault -values {none char word} -state readonly \
11745-
-textvariable wrapdefault
11743+
makedroplist $page.wrapdefault wrapdefault none char word
1174611744
grid x $page.wrapdefaultl $page.wrapdefault -sticky w
1174711745
1174811746
${NS}::checkbutton $page.ntag -text [mc "Display nearby tags/heads"] \

0 commit comments

Comments
 (0)