diff options
author | Martin Mares <mj@ucw.cz> | 2006-03-02 13:15:05 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-03 09:56:32 +1100 |
commit | 9f841cf1fbe4150a78555a45fd8a7794010975d4 (patch) | |
tree | 323e48c4a43100e80c8f0b76944ad4ae926ee41f | |
parent | c934a8a3a32896e44123c0a489367a1df1108c4a (diff) | |
download | git-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-x | gitk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 } |