From 35927672765f39a045a89d2ef1b392ab3ac61189 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Wed, 19 Oct 2011 12:44:39 +0100 Subject: git-gui: theme the search and line-number entry fields on blame screen Signed-off-by: Pat Thoyts --- lib/search.tcl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/search.tcl') diff --git a/lib/search.tcl b/lib/search.tcl index 15f99d8e5f..fe165724ed 100644 --- a/lib/search.tcl +++ b/lib/search.tcl @@ -35,7 +35,7 @@ constructor new {i_w i_text args} { ${NS}::frame $w ${NS}::label $w.l -text [mc Find:] - entry $w.ent -textvariable ${__this}::searchstring -background lightgreen + tentry $w.ent -textvariable ${__this}::searchstring -background lightgreen ${NS}::button $w.bn -text [mc Next] -command [cb find_next] ${NS}::button $w.bp -text [mc Prev] -command [cb find_prev] ${NS}::checkbutton $w.re -text [mc RegExp] \ @@ -162,10 +162,12 @@ method _incrsearch {} { $ctext see $here $ctext tag remove sel 1.0 end $ctext tag add sel $here "$here + $mlen c" - $w.ent configure -background lightgreen + #$w.ent configure -background lightgreen + $w.ent state !pressed _set_marks $this 1 } else { - $w.ent configure -background lightpink + #$w.ent configure -background lightpink + $w.ent state pressed } } } -- cgit v1.2.3