Git development
 help / color / mirror / Atom feed
* [PATCH] gitk: bind Key-Return to create on new branch dialog
@ 2008-10-14 20:53 Richard Quirk
  2008-10-15 23:11 ` Paul Mackerras
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Quirk @ 2008-10-14 20:53 UTC (permalink / raw)
  To: paulus; +Cc: git, Richard Quirk

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>
---
 gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gitk b/gitk
index 2eaa2ae..81d6c80 100755
--- a/gitk
+++ b/gitk
@@ -7590,6 +7590,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]
-- 
1.6.0.6.gc667

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-15 23:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 20:53 [PATCH] gitk: bind Key-Return to create on new branch dialog Richard Quirk
2008-10-15 23:11 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox