# [PATCH] gitk: add missing accelerators

2 messages from 2015-09-30 to 2015-10-30. Participants: Beat Bolli, Paul Mackerras.
Thread: https://gitlist.dev/t/40460

## Beat Bolli, 2015-09-30 19:50

Subject: [PATCH] gitk: add missing accelerators
Message-ID: <1443642611-11827-1-git-send-email-dev+git@drbeat.li>
URL: https://gitlist.dev/e/1443642611-11827-1-git-send-email-dev%2Bgit%40drbeat.li

```
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>
Cc: Paul Mackerras <paulus@samba.org>
---
 gitk-git/gitk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitk-git/gitk b/gitk-git/gitk
index 2028b55..fcc606e 100755
--- a/gitk-git/gitk
+++ b/gitk-git/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]} {
-- 
2.6.0

```

## Paul Mackerras, 2015-10-30 09:56

Subject: Re: [PATCH] gitk: add missing accelerators
Message-ID: <20151030095654.GA25993@fergus.ozlabs.ibm.com>
URL: https://gitlist.dev/e/20151030095654.GA25993%40fergus.ozlabs.ibm.com
In-Reply-To: <1443642611-11827-1-git-send-email-dev+git@drbeat.li>

```
On Wed, Sep 30, 2015 at 09:50:11PM +0200, Beat Bolli wrote:
> 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>
> Cc: Paul Mackerras <paulus@samba.org>

Thanks, applied.

Paul.

```
