Bug 1008793 - add open location back on Mac hidden window and other macBrowserOverlay-using windows, r=dao

--HG--
extra : rebase_source : 75317372ddc73c16698f7ae7b3c64c654a5df420
This commit is contained in:
Gijs Kruitbosch 2014-05-20 18:44:14 +01:00
parent e778e54e31
commit 84c5c34a64
3 changed files with 12 additions and 0 deletions

View File

@ -35,6 +35,12 @@
label="New Non-e10s Window"
hidden="true"
command="Tools:NonRemoteWindow"/>
#ifdef MAC_NON_BROWSER_WINDOW
<menuitem id="menu_openLocation"
label="&openLocationCmd.label;"
command="Browser:OpenLocation"
key="focusURLBar"/>
#endif
<menuitem id="menu_openFile"
label="&openFileCmd.label;"
command="Browser:OpenFile"

View File

@ -5,6 +5,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#define MAC_NON_BROWSER_WINDOW
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?>

View File

@ -57,6 +57,10 @@ can reach it easily. -->
<!ENTITY tabCmd.label "New Tab">
<!ENTITY tabCmd.accesskey "T">
<!ENTITY tabCmd.commandkey "t">
<!-- LOCALIZATION NOTE (openLocationCmd.label): "Open Location" is only
displayed on OS X, and only on windows that aren't main browser windows, or
when there are no windows but Firefox is still running. -->
<!ENTITY openLocationCmd.label "Open Location…">
<!ENTITY openFileCmd.label "Open File…">
<!ENTITY openFileCmd.accesskey "O">
<!ENTITY openFileCmd.commandkey "o">