]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitk: Add missing accelerators
authorBeat Bolli <dev+git@drbeat.li>
Wed, 30 Sep 2015 19:50:11 +0000 (21:50 +0200)
committerPaul Mackerras <paulus@samba.org>
Fri, 30 Oct 2015 09:38:11 +0000 (20:38 +1100)
In d99b4b0de27a ("gitk: Accelerators for the main menu", 2015-09-09),
accelerators were added to allow efficient keyboard navigation. One
instance of the strings "Edit view..." and "Delete view" were left
without the ampersand.

Add the missing ampersand characters to unbreak our international
users.

Signed-off-by: Beat Bolli <dev+git@drbeat.li>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk

diff --git a/gitk b/gitk
index 2028b554f48798c87852cdb3c5ab6b558ad6722e..fcc606eab7353e67f82de873c3532cefc137a9e5 100755 (executable)
--- a/gitk
+++ b/gitk
@@ -12452,8 +12452,8 @@ if {$cmdline_files ne {} || $revtreeargs ne {} || $revtreeargscmd ne {}} {
     set viewchanged(1) 0
     set vdatemode(1) 0
     addviewmenu 1
-    .bar.view entryconf [mca "Edit view..."] -state normal
-    .bar.view entryconf [mca "Delete view"] -state normal
+    .bar.view entryconf [mca "&Edit view..."] -state normal
+    .bar.view entryconf [mca "&Delete view"] -state normal
 }
 
 if {[info exists permviews]} {