Bug 651872 - Create access key for Workspace menu item; r=rcampbell
authorMihai Sucan <mihai.sucan@gmail.com>
Thu, 21 Apr 2011 18:46:06 +0300
changeset 69424 1caae16935f93e791d817899cf91a9dc17a4232c
parent 69423 b3a31be4470cc29b178d9851486bce65f5026ffc
child 69425 16c139bbe0ca043b8f073ac9d51d346e5ed26d5a
push id76
push userbzbarsky@mozilla.com
push dateTue, 05 Jul 2011 17:00:57 +0000
treeherdermozilla-beta@d3a2732c35f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrcampbell
bugs651872
milestone6.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 651872 - Create access key for Workspace menu item; r=rcampbell
browser/base/content/browser-menubar.inc
browser/locales/en-US/chrome/browser/browser.dtd
--- a/browser/base/content/browser-menubar.inc
+++ b/browser/base/content/browser-menubar.inc
@@ -548,16 +548,17 @@
               <menuitem id="webConsole"
                         label="&webConsoleCmd.label;"
                         accesskey="&webConsoleCmd.accesskey;"
                         key="key_webConsole"
                         oncommand="HUDConsoleUI.toggleHUD();"/>
               <menuitem id="menu_workspace"
                         hidden="true"
                         label="&workspace.label;"
+                        accesskey="&workspace.accesskey;"
                         key="key_workspace"
                         command="Tools:Workspace"/>
               <menuitem id="menu_pageInfo"
                         accesskey="&pageInfoCmd.accesskey;"
                         label="&pageInfoCmd.label;"
 #ifndef XP_WIN
                         key="key_viewInfo"
 #endif
--- a/browser/locales/en-US/chrome/browser/browser.dtd
+++ b/browser/locales/en-US/chrome/browser/browser.dtd
@@ -187,16 +187,17 @@ can reach it easily. -->
 <!ENTITY webConsoleCmd.accesskey      "W">
 <!ENTITY webConsoleCmd.commandkey     "k">
 
 <!ENTITY inspectMenu.label            "Inspect">
 <!ENTITY inspectMenu.accesskey        "T">
 <!ENTITY inspectMenu.commandkey       "I">
 
 <!ENTITY workspace.label               "Workspace">
+<!ENTITY workspace.accesskey           "O">
 <!ENTITY workspace.keycode             "VK_F4">
 <!ENTITY workspace.keytext             "F4">
 
 <!ENTITY inspectPanelTitle.label      "HTML">
 <!ENTITY inspectButton.label          "Inspect">
 <!ENTITY inspectButton.accesskey      "I">
 <!ENTITY inspectNextButton.label      "Next">
 <!ENTITY inspectNextButton.accesskey  "N">