Bug 1318552 - Add accesskey for the Folder Pane Toolbar. r=aceman
authorRichard Marti <richard.marti@gmail.com>
Fri, 18 Nov 2016 18:21:31 +0100
changeset 20727 0299a87cb9807ba92c064ca0eaa349e59a658ce6
parent 20726 a562487662d2e0c031647269e9d3b848d75c3d8f
child 20728 0d01aa13506ac8ff4fddca9bd9255f01b3481342
push id12547
push usermozilla@jorgk.com
push dateFri, 18 Nov 2016 23:22:37 +0000
treeherdercomm-central@0299a87cb980 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaceman
bugs1318552
Bug 1318552 - Add accesskey for the Folder Pane Toolbar. r=aceman
mail/base/content/messenger.xul
mail/locales/en-US/chrome/messenger/messenger.dtd
--- a/mail/base/content/messenger.xul
+++ b/mail/base/content/messenger.xul
@@ -318,16 +318,17 @@
 
           <box id="messengerBox" orient="horizontal" flex="1" minheight="100" height="100" persist="height">
             <vbox id="folderPaneBox" minwidth="125" width="200" persist="width">
               <sidebarheader id="folderPaneHeader" hidden="true" align="center"/>
               <toolbar id="folderPane-toolbar"
                        class="inline-toolbar"
                        toolboxid="mail-toolbox"
                        toolbarname="&folderPaneBar.label;"
+                       accesskey="&folderPaneBar.accesskey;"
                        customizable="true"
                        align="start"
                        mode="icons" defaultmode="icons" lockmode="true"
                        iconsize="small" defaulticonsize="small" lockiconsize="true"
                        context="toolbar-context-menu"
                        defaultset="folderpane-mode-selector"
                        collapsed="true"/>
               <tree id="folderTree" class="plain" flex="1"
--- a/mail/locales/en-US/chrome/messenger/messenger.dtd
+++ b/mail/locales/en-US/chrome/messenger/messenger.dtd
@@ -160,16 +160,17 @@
 <!ENTITY unreadFolders.accesskey "U">
 <!ENTITY favoriteFolders.label "Favorite">
 <!ENTITY favoriteFolders.accesskey "F">
 <!ENTITY recentFolders.label "Recent">
 <!ENTITY recentFolders.accesskey "R">
 <!ENTITY compactVersion.label "Compact View">
 <!ENTITY compactVersion.accesskey "C">
 <!ENTITY folderPaneBar.label "Folder Pane Toolbar">
+<!ENTITY folderPaneBar.accesskey "F">
 <!ENTITY folderModeSelector.label "Folder Views">
 
 <!-- Sort Menu -->
 <!ENTITY sortMenu.label "Sort by">
 <!ENTITY sortMenu.accesskey "S">
 <!ENTITY sortByDateCmd.label "Date">
 <!ENTITY sortByDateCmd.accesskey "e">
 <!ENTITY sortByReceivedCmd.label "Received">