aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2006-03-02 13:15:05 +0100
committerPaul Mackerras <paulus@samba.org>2006-03-03 09:56:32 +1100
commit9f841cf1fbe4150a78555a45fd8a7794010975d4 (patch)
tree323e48c4a43100e80c8f0b76944ad4ae926ee41f
parentc934a8a3a32896e44123c0a489367a1df1108c4a (diff)
downloadgit-9f841cf1fbe4150a78555a45fd8a7794010975d4.tar.gz
git-9f841cf1fbe4150a78555a45fd8a7794010975d4.tar.xz
[PATCH] gitk: Make error_popup react to Return
The error popup window can be now closed not only by clicking the button, but also by pressing Return. Signed-Off-By: Martin Mares <mj@ucw.cz> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-xgitk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gitk b/gitk
index a70787a87..36e8647b3 100755
--- a/gitk
+++ b/gitk
@@ -338,6 +338,7 @@ proc error_popup msg {
button $w.ok -text OK -command "destroy $w"
pack $w.ok -side bottom -fill x
bind $w <Visibility> "grab $w; focus $w"
+ bind $w <Key-Return> "destroy $w"
tkwait window $w
}