summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f7a3e8d)
raw | patch | inline | side by side (parent: f7a3e8d)
author | Paul Mackerras <paulus@samba.org> | |
Sat, 18 Mar 2006 05:02:51 +0000 (16:02 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Sat, 18 Mar 2006 05:02:51 +0000 (16:02 +1100) |
If the user is doing a find in files or patches, which changed the
cursor to a watch, don't change it back to a pointer when we reach
the end of laying out the graph.
Signed-off-by: Paul Mackerras <paulus@samba.org>
cursor to a watch, don't change it back to a pointer when we reach
the end of laying out the graph.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index ad2fe3b215931412c16ec93e512d56c29deb35fd..34f55bc1ecb4424cd481d5ab316fe6fc7fc56c6e 100755 (executable)
--- a/gitk
+++ b/gitk
proc finishcommits {} {
global commitidx phase
global canv mainfont ctext maincursor textcursor
+ global findinprogress
if {$commitidx > 0} {
drawrest
$canv create text 3 3 -anchor nw -text "No commits selected" \
-font $mainfont -tags textitems
}
- . config -cursor $maincursor
- settextcursor $textcursor
+ if {![info exists findinprogress]} {
+ . config -cursor $maincursor
+ settextcursor $textcursor
+ }
set phase {}
}
showstuff $commitidx
set drawmsecs [expr {[clock clicks -milliseconds] - $startmsecs}]
- #puts "overall $drawmsecs ms for $numcommits commits"
+ puts "overall $drawmsecs ms for $numcommits commits"
}
proc findmatches {f} {