summaryrefslogtreecommitdiff
path: root/lib/search.tcl
diff options
context:
space:
mode:
authorLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2011-10-19 12:44:39 +0100
committerLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2011-10-19 12:44:39 +0100
commit35927672765f39a045a89d2ef1b392ab3ac61189 (patch)
treeb6dfccbf9aa192ed87f8c415ae3a32071cf68aa8 /lib/search.tcl
parentgit-gui: add search history to searchbar (diff)
downloadtgif-35927672765f39a045a89d2ef1b392ab3ac61189.tar.xz
git-gui: theme the search and line-number entry fields on blame screen
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'lib/search.tcl')
-rw-r--r--lib/search.tcl8
1 files changed, 5 insertions, 3 deletions
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
}
}
}