mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
163 lines
7.2 KiB
XML
163 lines
7.2 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://communicator/content/utilityOverlay.css"?>
|
|
<?xul-overlay href="chrome://global/content/platformGlobalOverlay.xul"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://communicator/locale/utilityOverlay.dtd">
|
|
|
|
<overlay id="utilityOverlay"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script language="javascript" src="chrome://communicator/content/utilityOverlay.js"></script>
|
|
<script language="javascript" src="chrome://communicator/content/builtinURLs.js"></script>
|
|
|
|
<!-- online/offline status indicators -->
|
|
<broadcasterset id="broadcasterset">
|
|
<broadcaster id="Communicator:WorkMode" value="&offlineGoOfflineCmd.label;" oncommand="setOfflineStatus(true);"/>
|
|
</broadcasterset>
|
|
<statusbarpanel id="offline-status" tooltip="aTooltip" observes="Communicator:WorkMode"/>
|
|
<menuitem id="offlineGoOfflineCmd" accesskey="&offlineGoOfflineCmd.accesskey;" observes="Communicator:WorkMode"/>
|
|
|
|
|
|
|
|
<!-- File Menu -->
|
|
<menu id="menu_File" value="&fileMenu.label;" accesskey="&fileMenu.accesskey;"/>
|
|
|
|
<!-- New SubMenu (Under File Menu) -->
|
|
<broadcaster id="cmd_newNavigator" oncommand="OpenBrowserWindow()"/>
|
|
<broadcaster id="cmd_newEditor" oncommand="NewEditorWindow();"/>
|
|
<!-- NOT IMPLEMENTED, so temporarily disabled -->
|
|
<broadcaster id="cmd_newEditorTemplate" disabled="true" oncommand="NewEditorFromTemplate();"/>
|
|
<broadcaster id="cmd_newEditorDraft" disabled="true" oncommand="NewEditorFromDraft();"/>
|
|
<broadcaster id="cmd_pageSetup" value="&pageSetupCmd.label;" disabled="true" oncommand="goPageSetup();"/>
|
|
|
|
<menuitem id="menu_newEditor" value="&newBlankPageCmd.label;" accesskey="&newBlankPageCmd.accesskey;" key="key_newBlankPage" observes="cmd_newEditor"/>
|
|
<menuitem id="menu_newEditorTemplate" value="&newPageFromTemplateCmd.label;" accesskey="&newPageFromTemplateCmd.accesskey;" observes="cmd_newEditorTemplate"/>
|
|
<menuitem id="menu_newEditorDraft" value="&newPageFromDraftCmd.label;" accesskey="&newPageFromDraftCmd.accesskey;" observes="cmd_newEditorDraft"/>
|
|
|
|
<menu id="menu_New" value="&newMenu.label;" accesskey="&newMenu.accesskey;"/>
|
|
<menuitem id="menu_newNavigator" value="&newNavigatorCmd.label;" accesskey="&newNavigatorCmd.accesskey;" key="key_newNavigator" observes="cmd_newNavigator"/>
|
|
|
|
<key id="key_newBlankPage" key="&newBlankPageCmd.key;" observes="cmd_newEditor" modifiers="accel, shift"/>
|
|
<key id="key_newNavigator" key="&newNavigatorCmd.key;" observes="cmd_newNavigator" modifiers="accel"/>
|
|
|
|
<!-- Edit Menu -->
|
|
<menu id="menu_Edit" value="&editMenu.label;" accesskey="&editMenu.accesskey;"/>
|
|
<menuitem id="menu_undo" value="&undoCmd.label;" key="key_undo" accesskey="&undoCmd.accesskey;" observes="cmd_undo"/>
|
|
<menuitem id="menu_redo" value="&redoCmd.label;" key="key_redo" accesskey="&redoCmd.accesskey;" observes="cmd_redo"/>
|
|
<menuitem id="menu_cut" value="&cutCmd.label;" key="key_cut" accesskey="&cutCmd.accesskey;" observes="cmd_cut"/>
|
|
<menuitem id="menu_copy" value="©Cmd.label;" key="key_copy" accesskey="©Cmd.accesskey;" observes="cmd_copy"/>
|
|
<menuitem id="menu_paste" value="&pasteCmd.label;" key="key_paste" accesskey="&pasteCmd.accesskey;" observes="cmd_paste"/>
|
|
<menuitem id="menu_delete" value="&deleteCmd.label;" key="key_delete" accesskey="&deleteCmd.accesskey;" observes="cmd_delete"/>
|
|
<menuitem id="menu_selectAll" value="&selectAllCmd.label;" key="key_selectAll" accesskey="&selectAllCmd.accesskey;" observes="cmd_selectAll"/>
|
|
|
|
<key id="key_undo" key="&undoCmd.key;" observes="cmd_undo" modifiers="accel"/>
|
|
<key id="key_redo" key="&redoCmd.key;" observes="cmd_redo" modifiers="accel"/>
|
|
<key id="key_cut" key="&cutCmd.key;" observes="cmd_cut" modifiers="accel"/>
|
|
<key id="key_copy" key="©Cmd.key;" observes="cmd_copy" modifiers="accel"/>
|
|
<key id="key_paste" key="&pasteCmd.key;" observes="cmd_paste" modifiers="accel"/>
|
|
<key id="key_selectAll" key="&selectAllCmd.key;" observes="cmd_selectAll" modifiers="accel"/>
|
|
|
|
<commandset id="globalEditMenuItems"
|
|
commandupdater="true"
|
|
events="focus"
|
|
oncommandupdate="goUpdateGlobalEditMenuItems()"/>
|
|
|
|
<commandset id="selectEditMenuItems"
|
|
commandupdater="true"
|
|
events="select"
|
|
oncommandupdate="goUpdateSelectEditMenuItems()"/>
|
|
|
|
<commandset id="undoEditMenuItems"
|
|
commandupdater="true"
|
|
events="undo"
|
|
oncommandupdate="goUpdateUndoEditMenuItems()"/>
|
|
|
|
<commandset id="clipboardEditMenuItems"
|
|
commandupdater="true"
|
|
events="clipboard"
|
|
oncommandupdate="goUpdatePasteMenuItems()"/>
|
|
|
|
<broadcaster id="cmd_undo"
|
|
oncommand="goDoCommand('cmd_undo')"
|
|
disabled="true"/>
|
|
<broadcaster id="cmd_redo"
|
|
oncommand="goDoCommand('cmd_redo')"
|
|
disabled="true"/>
|
|
<broadcaster id="cmd_cut"
|
|
oncommand="goDoCommand('cmd_cut')"
|
|
disabled="true"/>
|
|
<broadcaster id="cmd_copy"
|
|
oncommand="goDoCommand('cmd_copy')"
|
|
disabled="true"/>
|
|
<broadcaster id="cmd_paste"
|
|
oncommand="goDoCommand('cmd_paste')"
|
|
disabled="true"/>
|
|
<broadcaster id="cmd_delete"
|
|
oncommand="goDoCommand('cmd_delete')"
|
|
valueDefault="&deleteCmd.label;"
|
|
disabled="true"/>
|
|
<broadcaster id="cmd_selectAll"
|
|
oncommand="goDoCommand('cmd_selectAll')"
|
|
disabled="true"/>
|
|
|
|
<!-- Not needed yet, window just needs a broadcaster with this id and oncommand= broadcaster id="cmd_preferences"/-->
|
|
|
|
<menuitem id="menu_preferences"
|
|
value="&preferencesCmd.label;"
|
|
key="key_preferences"
|
|
accesskey="&preferencesCmd.accesskey;"
|
|
observes="cmd_preferences"/>
|
|
|
|
<!-- Search Menu -->
|
|
|
|
|
|
<!-- View Menu -->
|
|
<menu id="menu_View" value="&viewMenu.label;" accesskey="&viewMenu.accesskey;"/>
|
|
<menu id="menu_Toolbars" value="&viewToolbarsMenu.label;" accesskey="&viewToolbarsMenu.accesskey;"/>
|
|
<menuitem id="menu_showTaskbar"
|
|
value="&showTaskbarCmd.label;"
|
|
accesskey="&showTaskbarCmd.accesskey;"
|
|
oncommand="goToggleToolbar('taskbar', 'menu_showTaskbar')"
|
|
checked="true"/>
|
|
|
|
<!-- Help Menu -->
|
|
<menu id="menu_Help" value="&helpMenu.label;" accesskey="&helpMenu.accesskey;">
|
|
<menupopup id="helpPopup" oncreate="helpMenuCreate()">
|
|
<menuitem accesskey="&releaseCommCmd.accesskey;" value="&releaseCommCmd.label;" id="releaseUrl" />
|
|
<menuseparator />
|
|
<menuitem accesskey="&aboutCommCmd.accesskey;" value="&aboutCommCmd.label;"
|
|
name="&aboutCommCmd.label;" id="releaseName" oncommand="goAboutDialog();"/>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
<!-- XXX NEEDS XBLIFICIATION!! Gray horizontal splitter -->
|
|
<splitter id="gray_horizontal_splitter" class="gray-horizontal-splitter">
|
|
<box id="begincap" align="horizontal">
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<spring flex="100%"/>
|
|
<grippy/>
|
|
<spring flex="100%"/>
|
|
<box id="endcap" align="horizontal">
|
|
<spring flex="100%"/>
|
|
</box>
|
|
</splitter>
|
|
|
|
<!-- XXX NEEDS XBLIFICIATION!! Gray vertical splitter -->
|
|
<splitter id="gray_vertical_splitter" class="gray-vertical-splitter" align="vertical">
|
|
<box id="begincap" align="vertical">
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<spring flex="100%"/>
|
|
<grippy/>
|
|
<spring flex="100%"/>
|
|
<box id="endcap" align="vertical">
|
|
<spring flex="100%"/>
|
|
</box>
|
|
</splitter>
|
|
|
|
<!-- Toolbar boxes -->
|
|
<box id="toolbar_button_box" align="horizontal" flex="100%"/>
|
|
|
|
</overlay>
|