2007-03-22 10:30:00 -07:00
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
|
|
|
#
|
|
|
|
# The Original Code is Mozilla.org Code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
2007-07-08 19:06:25 -07:00
|
|
|
# Ehsan Akhgari <ehsan.akhgari@gmail.com>
|
2010-05-13 13:38:21 -07:00
|
|
|
# Rob Campbell <rcampbell@mozilla.com>
|
2007-03-22 10:30:00 -07:00
|
|
|
#
|
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
#
|
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
2008-03-16 23:31:23 -07:00
|
|
|
<menubar id="main-menubar"
|
2007-03-22 10:30:00 -07:00
|
|
|
style="border:0px;padding:0px;margin:0px;-moz-appearance:none">
|
|
|
|
<menu id="file-menu" label="&fileMenu.label;"
|
|
|
|
accesskey="&fileMenu.accesskey;">
|
2009-10-01 23:21:48 -07:00
|
|
|
<menupopup id="menu_FilePopup">
|
2008-03-12 09:45:14 -07:00
|
|
|
<menuitem id="menu_newNavigator"
|
|
|
|
label="&newNavigatorCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
accesskey="&newNavigatorCmd.accesskey;"
|
|
|
|
key="key_newNavigator"
|
|
|
|
command="cmd_newNavigator"/>
|
2008-03-12 09:45:14 -07:00
|
|
|
<menuitem id="menu_newNavigatorTab"
|
|
|
|
label="&tabCmd.label;"
|
|
|
|
command="cmd_newNavigatorTab"
|
|
|
|
key="key_newNavigatorTab"
|
|
|
|
accesskey="&tabCmd.accesskey;"/>
|
|
|
|
<menuitem id="menu_openLocation"
|
|
|
|
label="&openLocationCmd.label;"
|
|
|
|
command="Browser:OpenLocation"
|
|
|
|
key="focusURLBar"
|
|
|
|
accesskey="&openLocationCmd.accesskey;"/>
|
|
|
|
<menuitem id="menu_openFile"
|
|
|
|
label="&openFileCmd.label;"
|
|
|
|
command="Browser:OpenFile"
|
|
|
|
key="openFileKb"
|
|
|
|
accesskey="&openFileCmd.accesskey;"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_closeWindow"
|
|
|
|
hidden="true"
|
|
|
|
command="cmd_closeWindow"
|
|
|
|
key="key_closeWindow"
|
|
|
|
label="&closeWindow.label;"
|
|
|
|
accesskey="&closeWindow.accesskey;"/>
|
|
|
|
<menuitem id="menu_close"
|
|
|
|
label="&closeCmd.label;"
|
|
|
|
key="key_close"
|
|
|
|
accesskey="&closeCmd.accesskey;"
|
|
|
|
command="cmd_close"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_savePage"
|
|
|
|
label="&savePageCmd.label;"
|
|
|
|
accesskey="&savePageCmd.accesskey;"
|
|
|
|
key="key_savePage"
|
|
|
|
command="Browser:SavePage"/>
|
|
|
|
<menuitem id="menu_sendLink"
|
|
|
|
label="&sendPageCmd.label;"
|
|
|
|
accesskey="&sendPageCmd.accesskey;"
|
|
|
|
command="Browser:SendLink"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
2009-07-08 17:26:30 -07:00
|
|
|
#ifndef WINCE
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_printSetup"
|
|
|
|
label="&printSetupCmd.label;"
|
|
|
|
accesskey="&printSetupCmd.accesskey;"
|
|
|
|
command="cmd_pageSetup"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifndef XP_MACOSX
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_printPreview"
|
|
|
|
label="&printPreviewCmd.label;"
|
|
|
|
accesskey="&printPreviewCmd.accesskey;"
|
|
|
|
command="cmd_printPreview"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_print"
|
|
|
|
label="&printCmd.label;"
|
|
|
|
accesskey="&printCmd.accesskey;"
|
|
|
|
key="printKb"
|
|
|
|
command="cmd_print"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_import"
|
|
|
|
label="&import.label;"
|
|
|
|
accesskey="&import.accesskey;"
|
|
|
|
oncommand="BrowserImport();"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
<menuseparator/>
|
2009-07-08 17:26:30 -07:00
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
|
|
|
<menuitem id="goOfflineMenuitem"
|
2009-01-17 12:54:09 -08:00
|
|
|
label="&goOfflineCmd.label;"
|
|
|
|
accesskey="&goOfflineCmd.accesskey;"
|
|
|
|
type="checkbox"
|
|
|
|
oncommand="BrowserOffline.toggleOfflineStatus();"/>
|
|
|
|
<menuitem id="menu_FileQuitItem"
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_WIN
|
2009-01-17 12:54:09 -08:00
|
|
|
label="&quitApplicationCmdWin.label;"
|
|
|
|
accesskey="&quitApplicationCmdWin.accesskey;"
|
2007-03-22 10:30:00 -07:00
|
|
|
#else
|
|
|
|
#ifdef XP_MACOSX
|
2009-01-17 12:54:09 -08:00
|
|
|
label="&quitApplicationCmdMac.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
#else
|
2009-01-17 12:54:09 -08:00
|
|
|
label="&quitApplicationCmd.label;"
|
|
|
|
accesskey="&quitApplicationCmd.accesskey;"
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
2008-03-06 17:59:42 -08:00
|
|
|
#ifdef XP_UNIX
|
2009-01-17 12:54:09 -08:00
|
|
|
key="key_quitApplication"
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
2008-03-06 17:59:42 -08:00
|
|
|
#endif
|
2009-01-17 12:54:09 -08:00
|
|
|
command="cmd_quitApplication"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2009-01-17 12:54:09 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<menu id="edit-menu" label="&editMenu.label;"
|
|
|
|
accesskey="&editMenu.accesskey;">
|
2008-01-25 21:48:51 -08:00
|
|
|
<menupopup id="menu_EditPopup"
|
|
|
|
onpopupshowing="updateEditUIVisibility()"
|
|
|
|
onpopuphidden="updateEditUIVisibility()">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_undo"
|
|
|
|
label="&undoCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_undo"
|
|
|
|
accesskey="&undoCmd.accesskey;"
|
|
|
|
command="cmd_undo"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_redo"
|
|
|
|
label="&redoCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_redo"
|
|
|
|
accesskey="&redoCmd.accesskey;"
|
|
|
|
command="cmd_redo"/>
|
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_cut"
|
|
|
|
label="&cutCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_cut"
|
|
|
|
accesskey="&cutCmd.accesskey;"
|
|
|
|
command="cmd_cut"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_copy"
|
|
|
|
label="©Cmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_copy"
|
|
|
|
accesskey="©Cmd.accesskey;"
|
|
|
|
command="cmd_copy"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_paste"
|
|
|
|
label="&pasteCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_paste"
|
|
|
|
accesskey="&pasteCmd.accesskey;"
|
|
|
|
command="cmd_paste"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_delete"
|
|
|
|
label="&deleteCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_delete"
|
|
|
|
accesskey="&deleteCmd.accesskey;"
|
|
|
|
command="cmd_delete"/>
|
|
|
|
<menuseparator/>
|
2008-04-19 00:36:39 -07:00
|
|
|
<menuitem id="menu_selectAll"
|
|
|
|
label="&selectAllCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
key="key_selectAll"
|
|
|
|
accesskey="&selectAllCmd.accesskey;"
|
|
|
|
command="cmd_selectAll"/>
|
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_find"
|
|
|
|
label="&findOnCmd.label;"
|
|
|
|
accesskey="&findOnCmd.accesskey;"
|
|
|
|
key="key_find"
|
|
|
|
command="cmd_find"/>
|
|
|
|
<menuitem id="menu_findAgain"
|
|
|
|
label="&findAgainCmd.label;"
|
|
|
|
accesskey="&findAgainCmd.accesskey;"
|
|
|
|
key="key_findAgain"
|
|
|
|
command="cmd_findAgain"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator hidden="true" id="textfieldDirection-separator"/>
|
|
|
|
<menuitem id="textfieldDirection-swap"
|
|
|
|
command="cmd_switchTextDirection"
|
|
|
|
key="key_switchTextDirection"
|
|
|
|
label="&bidiSwitchTextDirectionItem.label;"
|
|
|
|
accesskey="&bidiSwitchTextDirectionItem.accesskey;"
|
|
|
|
hidden="true"/>
|
|
|
|
#ifdef XP_UNIX
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem id="menu_preferences"
|
|
|
|
label="&preferencesCmdUnix.label;"
|
|
|
|
accesskey="&preferencesCmdUnix.accesskey;"
|
|
|
|
oncommand="openPreferences();"/>
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2009-01-17 12:54:09 -08:00
|
|
|
|
|
|
|
<menu id="view-menu" label="&viewMenu.label;"
|
|
|
|
accesskey="&viewMenu.accesskey;">
|
2007-03-22 10:30:00 -07:00
|
|
|
<menupopup id="menu_viewPopup">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menu id="viewToolbarsMenu"
|
|
|
|
label="&viewToolbarsMenu.label;"
|
2010-06-13 01:20:58 -07:00
|
|
|
accesskey="&viewToolbarsMenu.accesskey;">
|
|
|
|
<menupopup onpopupshowing="onViewToolbarsPopupShowing(event);">
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
2010-04-05 23:34:27 -07:00
|
|
|
<menuitem command="cmd_ToggleTabsOnTop"
|
|
|
|
type="checkbox"
|
|
|
|
label="&viewTabsOnTop.label;"
|
|
|
|
accesskey="&viewTabsOnTop.accesskey;"/>
|
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_customizeToolbars"
|
|
|
|
label="&viewCustomizeToolbar.label;"
|
|
|
|
accesskey="&viewCustomizeToolbar.accesskey;"
|
|
|
|
command="cmd_CustomizeToolbars"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="toggle_taskbar"
|
|
|
|
label="&taskbarCmd.label;"
|
|
|
|
accesskey="&taskbarCmd.accesskey;"
|
|
|
|
type="checkbox"
|
|
|
|
command="cmd_toggleTaskbar"
|
2009-07-09 14:55:50 -07:00
|
|
|
#ifndef WINCE
|
2009-01-17 12:54:09 -08:00
|
|
|
checked="true" />
|
2009-07-09 14:55:50 -07:00
|
|
|
#else
|
|
|
|
checked="false" />
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
<menu id="viewSidebarMenuMenu"
|
|
|
|
label="&viewSidebarMenu.label;"
|
|
|
|
accesskey="&viewSidebarMenu.accesskey;">
|
|
|
|
<menupopup id="viewSidebarMenu">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_bookmarksSidebar"
|
|
|
|
key="viewBookmarksSidebarKb"
|
|
|
|
observes="viewBookmarksSidebar"
|
2009-03-26 05:54:53 -07:00
|
|
|
accesskey="&bookmarksButton.accesskey;"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_historySidebar"
|
|
|
|
key="key_gotoHistory"
|
|
|
|
observes="viewHistorySidebar"
|
|
|
|
label="&historyButton.label;"
|
|
|
|
accesskey="&historySidebarCmd.accesskey;"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_stop"
|
|
|
|
label="&stopCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
accesskey="&stopCmd.accesskey;"
|
|
|
|
command="Browser:Stop"
|
|
|
|
#ifdef XP_MACOSX
|
|
|
|
key="key_stop_mac"/>
|
|
|
|
#else
|
|
|
|
key="key_stop"/>
|
|
|
|
#endif
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_reload"
|
|
|
|
label="&reloadCmd.label;"
|
|
|
|
accesskey="&reloadCmd.accesskey;"
|
|
|
|
key="key_reload"
|
2008-08-31 14:00:59 -07:00
|
|
|
command="Browser:ReloadOrDuplicate"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menu id="viewFullZoomMenu" label="&fullZoom.label;"
|
|
|
|
accesskey="&fullZoom.accesskey;"
|
|
|
|
onpopupshowing="FullZoom.updateMenu();">
|
2007-10-25 16:02:20 -07:00
|
|
|
<menupopup>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_zoomEnlarge"
|
|
|
|
key="key_fullZoomEnlarge"
|
|
|
|
label="&fullZoomEnlargeCmd.label;"
|
|
|
|
accesskey="&fullZoomEnlargeCmd.accesskey;"
|
2007-10-25 16:02:20 -07:00
|
|
|
command="cmd_fullZoomEnlarge"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_zoomReduce"
|
|
|
|
key="key_fullZoomReduce"
|
|
|
|
label="&fullZoomReduceCmd.label;"
|
|
|
|
accesskey="&fullZoomReduceCmd.accesskey;"
|
2007-10-25 16:02:20 -07:00
|
|
|
command="cmd_fullZoomReduce"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_zoomReset"
|
|
|
|
key="key_fullZoomReset"
|
|
|
|
label="&fullZoomResetCmd.label;"
|
|
|
|
accesskey="&fullZoomResetCmd.accesskey;"
|
2007-10-25 16:02:20 -07:00
|
|
|
command="cmd_fullZoomReset"/>
|
2008-02-13 03:00:45 -08:00
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="toggle_zoom"
|
|
|
|
label="&fullZoomToggleCmd.label;"
|
|
|
|
accesskey="&fullZoomToggleCmd.accesskey;"
|
|
|
|
type="checkbox"
|
|
|
|
command="cmd_fullZoomToggle"
|
|
|
|
checked="false"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menu id="pageStyleMenu" label="&pageStyleMenu.label;"
|
|
|
|
accesskey="&pageStyleMenu.accesskey;" observes="isImage">
|
2007-03-22 10:30:00 -07:00
|
|
|
<menupopup onpopupshowing="stylesheetFillPopup(this);"
|
|
|
|
oncommand="stylesheetSwitchAll(window.content, event.target.getAttribute('data')); setStyleDisabled(false);">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_pageStyleNoStyle"
|
|
|
|
label="&pageStyleNoStyle.label;"
|
|
|
|
accesskey="&pageStyleNoStyle.accesskey;"
|
|
|
|
oncommand="setStyleDisabled(true); event.stopPropagation();"
|
|
|
|
type="radio"/>
|
|
|
|
<menuitem id="menu_pageStylePersistentOnly"
|
|
|
|
label="&pageStylePersistentOnly.label;"
|
|
|
|
accesskey="&pageStylePersistentOnly.accesskey;"
|
|
|
|
type="radio"
|
|
|
|
checked="true"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu id="charsetMenu"
|
|
|
|
label="&charsetMenu.label;"
|
|
|
|
accesskey="&charsetMenu.accesskey;"
|
|
|
|
datasources="rdf:charset-menu"
|
|
|
|
ref="NC:BrowserCharsetMenuRoot"
|
|
|
|
oncommand="MultiplexHandler(event)"
|
|
|
|
onpopupshowing="CreateMenu('browser');UpdateMenus(event)"
|
|
|
|
onpopupshown="CreateMenu('more-menu');"
|
|
|
|
observes="isImage">
|
|
|
|
<template>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
|
|
|
<menuseparator uri="..." />
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
2009-01-17 12:54:09 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<menupopup>
|
|
|
|
<menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
<menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuUnicode.label;" accesskey="&charsetMenuUnicode.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserUnicodeCharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator />
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_pageSource"
|
|
|
|
accesskey="&pageSourceCmd.accesskey;"
|
|
|
|
label="&pageSourceCmd.label;"
|
|
|
|
key="key_viewSource"
|
|
|
|
command="View:PageSource"/>
|
2009-01-17 17:55:55 -08:00
|
|
|
<menuitem id="fullScreenItem"
|
2009-01-17 12:54:09 -08:00
|
|
|
accesskey="&fullScreenCmd.accesskey;"
|
2009-01-17 17:55:55 -08:00
|
|
|
label="&fullScreenCmd.label;"
|
|
|
|
key="key_fullScreen"
|
2007-03-22 10:30:00 -07:00
|
|
|
type="checkbox"
|
2009-07-31 10:58:17 -07:00
|
|
|
observes="View:FullScreen"/>
|
2009-07-20 21:25:59 -07:00
|
|
|
<menuitem id="menu_showAllTabs"
|
|
|
|
hidden="true"
|
|
|
|
accesskey="&showAllTabsCmd.accesskey;"
|
|
|
|
label="&showAllTabsCmd.label;"
|
|
|
|
command="Browser:ShowAllTabs"
|
|
|
|
key="key_showAllTabs"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator hidden="true" id="documentDirection-separator"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="documentDirection-swap"
|
|
|
|
hidden="true"
|
2007-03-22 10:30:00 -07:00
|
|
|
label="&bidiSwitchPageDirectionItem.label;"
|
|
|
|
accesskey="&bidiSwitchPageDirectionItem.accesskey;"
|
|
|
|
oncommand="SwitchDocumentDirection(window.content)"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
|
|
|
<menu id="history-menu"
|
|
|
|
label="&historyMenu.label;"
|
|
|
|
accesskey="&historyMenu.accesskey;">
|
|
|
|
<menupopup id="goPopup"
|
2010-05-05 06:28:04 -07:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
placespopup="true"
|
|
|
|
#endif
|
2010-06-16 03:00:31 -07:00
|
|
|
oncommand="this.parentNode._placesView._onCommand(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
|
|
|
onpopupshowing="if (!this.parentNode._placesView)
|
2010-05-05 06:28:04 -07:00
|
|
|
new HistoryMenu(event);"
|
|
|
|
tooltip="bhTooltip"
|
|
|
|
popupsinherittooltip="true">
|
2008-03-07 15:55:06 -08:00
|
|
|
<menuitem id="historyMenuBack"
|
|
|
|
label="&backCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
key="goBackKb2"
|
|
|
|
#else
|
|
|
|
key="goBackKb"
|
|
|
|
#endif
|
2008-09-01 13:19:24 -07:00
|
|
|
command="Browser:BackOrBackDuplicate"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2008-03-07 15:55:06 -08:00
|
|
|
<menuitem id="historyMenuForward"
|
|
|
|
label="&forwardCmd.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
key="goForwardKb2"
|
|
|
|
#else
|
|
|
|
key="goForwardKb"
|
|
|
|
#endif
|
2008-09-01 13:19:24 -07:00
|
|
|
command="Browser:ForwardOrForwardDuplicate"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
2008-03-28 01:42:31 -07:00
|
|
|
<menuitem id="historyMenuHome"
|
|
|
|
label="&historyHomeCmd.label;"
|
2008-01-08 20:04:31 -08:00
|
|
|
oncommand="BrowserGoHome(event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
2007-05-23 06:16:46 -07:00
|
|
|
key="goHome"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_showAllHistory"
|
|
|
|
label="&showAllHistoryCmd2.label;"
|
2008-01-14 21:09:39 -08:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
key="showAllHistoryKb"
|
|
|
|
#endif
|
|
|
|
command="Browser:ShowAllHistory"/>
|
2008-09-19 08:47:45 -07:00
|
|
|
<menuseparator id="startHistorySeparator"/>
|
2010-06-16 03:00:31 -07:00
|
|
|
<menuseparator id="endHistorySeparator"
|
|
|
|
class="hide-if-empty-places-result"
|
|
|
|
builder="end"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menu id="historyUndoMenu"
|
|
|
|
label="&historyUndoMenu.label;"
|
|
|
|
disabled="true">
|
2010-05-05 06:28:04 -07:00
|
|
|
<menupopup id="historyUndoPopup"
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
placespopup="true"
|
|
|
|
#endif
|
|
|
|
onpopupshowing="document.getElementById('history-menu')._placesView.populateUndoSubmenu();"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menu>
|
2009-04-22 23:50:30 -07:00
|
|
|
<menu id="historyUndoWindowMenu"
|
|
|
|
label="&historyUndoWindowMenu.label;"
|
|
|
|
disabled="true">
|
2010-05-05 06:28:04 -07:00
|
|
|
<menupopup id="historyUndoWindowPopup"
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
placespopup="true"
|
|
|
|
#endif
|
|
|
|
onpopupshowing="document.getElementById('history-menu')._placesView.populateUndoWindowSubmenu();"/>
|
2009-04-22 23:50:30 -07:00
|
|
|
</menu>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2009-01-17 12:54:09 -08:00
|
|
|
<menu id="bookmarksMenu"
|
|
|
|
label="&bookmarksMenu.label;"
|
|
|
|
accesskey="&bookmarksMenu.accesskey;"
|
2010-06-24 10:08:43 -07:00
|
|
|
ondragenter="PlacesMenuDNDHandler.onDragEnter(event);"
|
|
|
|
ondragover="PlacesMenuDNDHandler.onDragOver(event);"
|
|
|
|
ondrop="PlacesMenuDNDHandler.onDrop(event);">
|
2007-03-22 10:30:00 -07:00
|
|
|
<menupopup id="bookmarksMenuPopup"
|
2010-05-05 06:28:04 -07:00
|
|
|
#ifndef XP_MACOSX
|
|
|
|
placespopup="true"
|
|
|
|
#endif
|
2007-03-22 10:30:00 -07:00
|
|
|
context="placesContext"
|
|
|
|
openInTabs="children"
|
|
|
|
oncommand="BookmarksEventHandler.onCommand(event);"
|
|
|
|
onclick="BookmarksEventHandler.onClick(event);"
|
2010-06-16 03:00:31 -07:00
|
|
|
onpopupshowing="if (!this.parentNode._placesView)
|
2010-05-05 06:28:04 -07:00
|
|
|
new PlacesMenu(event, 'place:folder=BOOKMARKS_MENU');"
|
2009-09-14 04:06:33 -07:00
|
|
|
tooltip="bhTooltip" popupsinherittooltip="true">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_bookmarkThisPage"
|
|
|
|
label="&bookmarkThisPageCmd.label;"
|
|
|
|
command="Browser:AddBookmarkAs"
|
|
|
|
key="addBookmarkAsKb"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem id="subscribeToPageMenuitem"
|
|
|
|
label="&subscribeToPageMenuitem.label;"
|
|
|
|
oncommand="return FeedHandler.subscribeToFeed(null, event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"
|
|
|
|
disabled="true"/>
|
|
|
|
<menu id="subscribeToPageMenupopup"
|
|
|
|
label="&subscribeToPageMenupopup.label;"
|
|
|
|
hidden="true">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menupopup id="subscribeToPageSubmenuMenupopup"
|
2008-04-08 11:42:53 -07:00
|
|
|
onpopupshowing="return FeedHandler.buildFeedList(event.target);"
|
2007-03-22 10:30:00 -07:00
|
|
|
oncommand="return FeedHandler.subscribeToFeed(null, event);"
|
|
|
|
onclick="checkForMiddleClick(this, event);"/>
|
|
|
|
</menu>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_bookmarkAllTabs"
|
|
|
|
label="&addCurPagesCmd.label;"
|
|
|
|
command="Browser:BookmarkAllTabs"
|
|
|
|
key="bookmarkAllTabsKb"/>
|
2008-03-12 09:45:14 -07:00
|
|
|
<menuitem id="bookmarksShowAll"
|
2008-04-01 20:23:30 -07:00
|
|
|
label="&organizeBookmarks.label;"
|
2008-03-12 09:45:14 -07:00
|
|
|
command="Browser:ShowAllBookmarks"
|
|
|
|
key="manBookmarkKb"/>
|
2008-04-08 11:42:53 -07:00
|
|
|
<menuseparator id="organizeBookmarksSeparator"/>
|
2008-03-10 20:18:44 -07:00
|
|
|
<menu id="bookmarksToolbarFolderMenu"
|
|
|
|
class="menu-iconic bookmark-item"
|
2008-07-05 12:00:06 -07:00
|
|
|
label="&personalbarCmd.label;"
|
2008-03-10 20:18:44 -07:00
|
|
|
container="true">
|
2010-05-05 06:28:04 -07:00
|
|
|
<menupopup id="bookmarksToolbarFolderPopup"
|
|
|
|
#ifndef XP_MACOSX
|
|
|
|
placespopup="true"
|
|
|
|
#endif
|
2008-03-10 20:18:44 -07:00
|
|
|
context="placesContext"
|
2010-05-05 06:28:04 -07:00
|
|
|
onpopupshowing="if (!this.parentNode._placesView)
|
|
|
|
new PlacesMenu(event, 'place:folder=TOOLBAR');"/>
|
2008-03-10 20:18:44 -07:00
|
|
|
</menu>
|
2008-09-19 08:47:45 -07:00
|
|
|
<menuseparator/>
|
2007-03-22 10:30:00 -07:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2008-03-10 20:18:44 -07:00
|
|
|
|
2009-01-17 12:54:09 -08:00
|
|
|
<menu id="tools-menu"
|
|
|
|
label="&toolsMenu.label;"
|
|
|
|
accesskey="&toolsMenu.accesskey;">
|
2007-03-22 10:30:00 -07:00
|
|
|
<menupopup id="menu_ToolsPopup">
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_search"
|
|
|
|
label="&search.label;"
|
|
|
|
accesskey="&search.accesskey;"
|
|
|
|
key="key_search"
|
|
|
|
command="Tools:Search"/>
|
2008-03-12 09:45:14 -07:00
|
|
|
<menuseparator id="browserToolsSeparator"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="menu_openDownloads"
|
|
|
|
label="&downloads.label;"
|
2007-03-22 10:30:00 -07:00
|
|
|
accesskey="&downloads.accesskey;"
|
2009-01-17 12:54:09 -08:00
|
|
|
key="key_openDownloads"
|
|
|
|
command="Tools:Downloads"/>
|
|
|
|
<menuitem id="menu_openAddons"
|
|
|
|
label="&addons.label;"
|
|
|
|
accesskey="&addons.accesskey;"
|
|
|
|
command="Tools:Addons"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator id="devToolsSeparator"/>
|
2010-05-13 13:38:21 -07:00
|
|
|
<menuitem id="menu_pageinspect"
|
|
|
|
type="checkbox"
|
|
|
|
label="&inspectMenu.label;"
|
|
|
|
accesskey="&inspectMenu.accesskey;"
|
2010-05-20 13:46:12 -07:00
|
|
|
key="key_inspect"
|
2010-05-13 13:38:21 -07:00
|
|
|
command="Tools:Inspect"/>
|
2009-01-17 12:54:09 -08:00
|
|
|
<menuitem id="javascriptConsole"
|
|
|
|
label="&errorConsoleCmd.label;"
|
|
|
|
accesskey="&errorConsoleCmd.accesskey;"
|
|
|
|
key="key_errorConsole"
|
|
|
|
oncommand="toJavaScriptConsole();"/>
|
2010-06-22 09:51:50 -07:00
|
|
|
<menuitem id="headsUpDisplayConsole"
|
|
|
|
label="&hudConsoleCmd.label;"
|
|
|
|
accesskey="&hudConsoleCmd.accesskey;"
|
|
|
|
key="key_hudConsole"
|
|
|
|
oncommand="HUDConsoleUI.toggleHUD();"/>
|
2009-01-17 13:13:11 -08:00
|
|
|
<menuitem id="menu_pageInfo"
|
2009-01-17 12:54:09 -08:00
|
|
|
accesskey="&pageInfoCmd.accesskey;"
|
|
|
|
label="&pageInfoCmd.label;"
|
|
|
|
#ifndef XP_WIN
|
|
|
|
key="key_viewInfo"
|
2007-03-22 10:30:00 -07:00
|
|
|
#endif
|
2009-01-17 12:54:09 -08:00
|
|
|
command="View:PageInfo"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuseparator id="sanitizeSeparator"/>
|
2008-11-03 15:22:23 -08:00
|
|
|
<menuitem id="privateBrowsingItem"
|
2009-01-01 15:59:48 -08:00
|
|
|
label="&privateBrowsingCmd.start.label;"
|
|
|
|
accesskey="&privateBrowsingCmd.start.accesskey;"
|
|
|
|
startlabel="&privateBrowsingCmd.start.label;"
|
|
|
|
startaccesskey="&privateBrowsingCmd.start.accesskey;"
|
|
|
|
stoplabel="&privateBrowsingCmd.stop.label;"
|
|
|
|
stopaccesskey="&privateBrowsingCmd.stop.accesskey;"
|
2009-01-17 12:54:09 -08:00
|
|
|
key="key_privatebrowsing"
|
|
|
|
command="Tools:PrivateBrowsing"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<menuitem id="sanitizeItem"
|
2010-01-18 14:24:24 -08:00
|
|
|
accesskey="&clearRecentHistory.accesskey;"
|
|
|
|
label="&clearRecentHistory.label;"
|
2009-01-17 12:54:09 -08:00
|
|
|
key="key_sanitize"
|
|
|
|
command="Tools:Sanitize"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifndef XP_UNIX
|
|
|
|
<menuseparator id="prefSep"/>
|
|
|
|
<menuitem id="menu_preferences"
|
|
|
|
label="&preferencesCmd.label;"
|
|
|
|
accesskey="&preferencesCmd.accesskey;"
|
|
|
|
oncommand="openPreferences();"/>
|
|
|
|
#endif
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2009-01-17 12:54:09 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
#ifdef XP_MACOSX
|
|
|
|
<menu id="windowMenu" />
|
|
|
|
#endif
|
|
|
|
<menu id="helpMenu" />
|
|
|
|
</menubar>
|