Bug 771215 - Add an accesskey to the "Copy Username" menu item in the Saved Passwords dialog. r=MattN
authorYFdyh000 <yfdyh000@gmail.com>
Thu, 16 Oct 2014 00:12:01 -0700
changeset 210592 f707c1692a77f4b1191f62eda85be8a424e5631c
parent 210591 d04c14e7d54e91d27c49846c2dfbe035b45158dc
child 210593 9794e8f22ac8566ed9342472388c20d5a940d9a5
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersMattN
bugs771215
milestone36.0a1
Bug 771215 - Add an accesskey to the "Copy Username" menu item in the Saved Passwords dialog. r=MattN
toolkit/components/passwordmgr/content/passwordManager.xul
toolkit/locales/en-US/chrome/passwordmgr/passwordManager.dtd
--- 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="&copyUsernameCmd.label;"
+                accesskey="&copyUsernameCmd.accesskey;"
                 oncommand="CopyUsername()"/>
       <menuitem id="context-copypassword"
                 label="&copyPasswordCmd.label;"
                 accesskey="&copyPasswordCmd.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">