зеркало из https://github.com/mozilla/pjs.git
Remove Web Development submenu.
This commit is contained in:
Родитель
8e6ff491f2
Коммит
de2a3da945
|
@ -106,7 +106,7 @@ function loadEventHandlers(event)
|
|||
**/
|
||||
function getContentAreaFrameCount()
|
||||
{
|
||||
var saveFrameItem = document.getElementById("savepage");
|
||||
var saveFrameItem = document.getElementById("menu_saveFrame");
|
||||
if (!_content.frames.length || !isDocumentFrame(document.commandDispatcher.focusedWindow))
|
||||
saveFrameItem.setAttribute("hidden", "true");
|
||||
else
|
||||
|
|
|
@ -396,7 +396,7 @@ Contributor(s):
|
|||
<menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
|
||||
<menuitem label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="saveFrameDocument();" hidden="true"/>
|
||||
<menuitem id="menu_saveFrame" label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="saveFrameDocument();" hidden="true"/>
|
||||
<menuseparator/>
|
||||
<menuitem label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" oncommand="BrowserPrintSetup();"/>
|
||||
<menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" oncommand="BrowserPrintPreview();"/>
|
||||
|
@ -635,17 +635,13 @@ Contributor(s):
|
|||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menu label="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;">
|
||||
<menu label="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;" onpopupshowing="javaItemEnabling();">
|
||||
<menupopup>
|
||||
<menuitem label="&historyCmd.label;" accesskey="&historyCmd.accesskey;" oncommand="toHistory()" key="key_gotoHistory"/>
|
||||
<menuitem label="&downloadManagerCmd.label;" accesskey="&downloadManagerCmd.accesskey;" oncommand="toDownloadManager();"/>
|
||||
<menuseparator/>
|
||||
<menu label="&webDevelopment.label;" accesskey="&webDevelopment.accesskey;">
|
||||
<menupopup onpopupshowing="javaItemEnabling();">
|
||||
<menuitem id="java" label="&javaConsoleCmd.label;" accesskey="&javaConsoleCmd.accesskey;" oncommand="toJavaConsole()"/>
|
||||
<menuitem label="&javaScriptConsoleCmd.label;" accesskey="&javaScriptConsoleCmd.accesskey;" oncommand="toJavaScriptConsole();"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuitem id="java" label="&javaConsoleCmd.label;" accesskey="&javaConsoleCmd.accesskey;" oncommand="toJavaConsole()"/>
|
||||
<menuitem label="&javaScriptConsoleCmd.label;" accesskey="&javaScriptConsoleCmd.accesskey;" oncommand="toJavaScriptConsole();"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
|
|
@ -73,8 +73,6 @@
|
|||
<!ENTITY stopCmd.label "Stop">
|
||||
<!ENTITY stopCmd.accesskey "S">
|
||||
<!ENTITY stopButton.tooltip "Stop loading this page">
|
||||
<!ENTITY searchButton.label "Search">
|
||||
<!ENTITY searchButton.tooltip "Type a word in the field to the left, then click Search">
|
||||
<!ENTITY goButton.label "Go">
|
||||
<!ENTITY goButton.tooltip "Type a location in the field to the left, then click Go">
|
||||
<!ENTITY printButton.label "Print">
|
||||
|
@ -84,11 +82,8 @@
|
|||
|
||||
<!ENTITY locationBar.tooltip "Enter search term, keyword, or web address">
|
||||
<!ENTITY proxyIcon.tooltip "Drag and drop this icon to create a link to this page">
|
||||
<!ENTITY internetKeyword.tooltip "Return to previously viewed page or choose keyword">
|
||||
|
||||
<!-- Toolbar items -->
|
||||
<!ENTITY bookmarksButton.label "Bookmarks">
|
||||
<!ENTITY bookmarksButton.tooltip "Bookmarks list">
|
||||
<!ENTITY homeButton.label "Home">
|
||||
|
||||
<!-- Statusbar -->
|
||||
|
@ -110,12 +105,6 @@
|
|||
<!ENTITY javaScriptConsoleCmd.label "JavaScript Console">
|
||||
<!ENTITY javaScriptConsoleCmd.accesskey "S">
|
||||
|
||||
<!ENTITY webDevelopment.label "Web Development">
|
||||
<!ENTITY webDevelopment.accesskey "W">
|
||||
|
||||
<!ENTITY offlineGoOfflineCmd.label "Work Offline">
|
||||
<!ENTITY offlineGoOfflineCmd.accesskey "w">
|
||||
|
||||
<!ENTITY fileMenu.label "File">
|
||||
<!ENTITY fileMenu.accesskey "F">
|
||||
<!ENTITY newMenu.label "New">
|
||||
|
|
Загрузка…
Ссылка в новой задаче