Bug 771215 - Add an accesskey to the "Copy Username" menu item in the Saved Passwords dialog. r=MattN
--- a/toolkit/components/passwordmgr/content/passwordManager.xul
+++ b/toolkit/components/passwordmgr/content/passwordManager.xul
@@ -29,16 +29,17 @@
<key key="&focusSearch2.key;" modifiers="accel" oncommand="FocusFilterBox();"/>
</keyset>
<popupset id="signonsTreeContextSet">
<menupopup id="signonsTreeContextMenu"
onpopupshowing="UpdateCopyPassword()">
<menuitem id="context-copyusername"
label="©UsernameCmd.label;"
+ accesskey="©UsernameCmd.accesskey;"
oncommand="CopyUsername()"/>
<menuitem id="context-copypassword"
label="©PasswordCmd.label;"
accesskey="©PasswordCmd.accesskey;"
oncommand="CopyPassword()"/>
</menupopup>
</popupset>
--- a/toolkit/locales/en-US/chrome/passwordmgr/passwordManager.dtd
+++ b/toolkit/locales/en-US/chrome/passwordmgr/passwordManager.dtd
@@ -28,8 +28,9 @@
<!ENTITY windowClose.key "w">
<!ENTITY focusSearch1.key "f">
<!ENTITY focusSearch2.key "k">
<!ENTITY copyPasswordCmd.label "Copy Password">
<!ENTITY copyPasswordCmd.accesskey "C">
<!ENTITY copyUsernameCmd.label "Copy Username">
+<!ENTITY copyUsernameCmd.accesskey "U">