From: Ben Kaduk Date: Mon, 3 Dec 2012 19:21:55 +0000 (-0500) Subject: Access keys for the KfW ribbon interface X-Git-Tag: kfw-4.0.1-beta1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49a26d8e941b074e607e26a457995c69e69a24e3;p=thirdparty%2Fkrb5.git Access keys for the KfW ribbon interface Improve accessibility by actually enabling access keys for ribbon elements (tap alt and follow the onscreen hints for keys to press), instead of just underlining a letter in the name of each element. Supply an underlined letter in the text of each element, corresponding to this access key, even if there is not a shortcut key bound to that element. While here, fix conflicting assignment to 'R' on the 'options' tab (between "Renewable Until" and "Automatic Ticket Renewal") by making "Automatic Ticket Renewal" use 'T'. Microsoft's UI recommendations seem to say that access keys should be easy to locate when searching through the menu, and thus using the first letter of the first or second word is advisable. The Ribbon XML Reference seems to indicate that these elements should be "keytip" elements, but MSVS creates "keys" elements, which seem to work, whereas "keytip" does not. Apparently 'F' is standard for the application button menu (which contains exit). Access keys work somewhat poorly for us in this menu, as they appear on top of the text of the menu items, since we have no icons here. (cherry picked from commit eacf40bdc52ae3c43dad58429086c39a8ce4d395) ticket: 7441 status: resolved --- diff --git a/src/windows/leash/res/ribbon1.mfcribbon-ms b/src/windows/leash/res/ribbon1.mfcribbon-ms index 7d20def4a8..e8b1bd99c1 100644 --- a/src/windows/leash/res/ribbon1.mfcribbon-ms +++ b/src/windows/leash/res/ribbon1.mfcribbon-ms @@ -16,6 +16,7 @@ ID_BUTTON2 32813 + f FALSE FALSE -1 @@ -39,6 +40,7 @@ 32784 &Help + h FALSE FALSE -1 @@ -53,6 +55,7 @@ 57664 &About + a FALSE FALSE -1 @@ -67,6 +70,7 @@ 57665 E&xit + x FALSE FALSE -1 @@ -85,6 +89,7 @@ Category Home + h IDB_HOMESMALL @@ -111,6 +116,7 @@ 32807 Get &Ticket + t FALSE TRUE 2 @@ -125,6 +131,7 @@ 32776 &Renew Ticket + r FALSE TRUE 3 @@ -139,6 +146,7 @@ 32777 &Destroy Ticket + d FALSE TRUE 1 @@ -152,7 +160,8 @@ ID_MAKE_DEFAULT 32835 - Make Default + &Make Default + m FALSE TRUE 6 @@ -174,7 +183,8 @@ ID_CHANGE_PASSWORD 32779 - Change Password + Change &Password + p FALSE FALSE 5 @@ -189,6 +199,7 @@ Category Options + o Panel @@ -204,6 +215,7 @@ 32810 &Issued + i FALSE FALSE -1 @@ -217,6 +229,7 @@ 32811 &Renewable Until + r FALSE FALSE -1 @@ -230,6 +243,7 @@ 32828 &Valid Until + v FALSE FALSE -1 @@ -243,6 +257,7 @@ 32826 &Encryption Type + e FALSE FALSE -1 @@ -256,6 +271,7 @@ 32812 &Flags + f FALSE FALSE -1 @@ -277,7 +293,8 @@ ID_AUTO_RENEW 32808 - Automatic Ticket &Renewal + Automatic &Ticket Renewal + t FALSE FALSE -1 @@ -291,6 +308,7 @@ 32798 Expiration &Alarm + a FALSE FALSE -1 @@ -304,6 +322,7 @@ 32785 &Destroy Tickets on Exit + d FALSE FALSE -1 @@ -317,6 +336,7 @@ 32787 Allow &Mixed Case Realm Name + m FALSE FALSE -1