Skip to contentSkip to conversation

gitk: add missing accelerators

PATCH Applied Beat Bolli 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Beat Bolli

author
#0 lore raw

PATCH 1/1 gitk: add missing accelerators

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.

Cc Paul Mackerras <[email protected]>
---
 gitk-git/gitk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
gitk-git/gitk +2 -2
index 2028b55..fcc606e 100755
@@ -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]} {
Signature · 1 line
2.6.0
#1 lore raw
Quoted 10 lines · Beat Bolli

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.

Cc Paul Mackerras <[email protected]>

Thanks, applied.

Paul.