Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitk: Bind Key-Return to create on new branch dialog
author
Richard Quirk
<richard.quirk@gmail.com>
Tue, 14 Oct 2008 20:53:25 +0000
(22:53 +0200)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 15 Oct 2008 23:10:30 +0000
(10:10 +1100)
The Return key can now be used as well as pressing the Create button
from the dialog box that is shown when selecting "Create new branch".
Signed-off-by: Richard Quirk <richard.quirk@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
968ce45
)
diff --git
a/gitk
b/gitk
index 00ea8da7359cb3fa8197adce0a47d7a0c5c54a92..0f9ff7f65979661ec3f6e8f330887b83d8092524 100755
(executable)
--- a/
gitk
+++ b/
gitk
@@
-7625,6
+7625,7
@@
proc mkbranch {} {
grid $top.id $top.sha1 -sticky w
label $top.nlab -text [mc "Name:"]
entry $top.name -width 40
+ bind $top.name <Key-Return> "[list mkbrgo $top]"
grid $top.nlab $top.name -sticky w
frame $top.buts
button $top.buts.go -text [mc "Create"] -command [list mkbrgo $top]