84 строки
3.9 KiB
XML
84 строки
3.9 KiB
XML
<?xml version="1.0"?>
|
|
<?xml-stylesheet href="chrome://communicator/skin/tasksOverlay.css" type="text/css"?>
|
|
|
|
<!DOCTYPE overlay [
|
|
<!ENTITY % tasksDTD SYSTEM "chrome://communicator/locale/tasksOverlay.dtd" >
|
|
%tasksDTD;
|
|
]>
|
|
|
|
<overlay id="tasksOverlay"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/tasksOverlay.js"/>
|
|
|
|
|
|
|
|
<keyset id="tasksKeys">
|
|
<key id="key_navigator" key="&navigatorCmd.commandkey;" command="Tasks:Navigator" modifiers="accel"/>
|
|
<key id="key_errorConsole" key="&errorConsoleCmd.commandkey;"
|
|
command="Tasks:ErrorConsole" modifiers="accel,shift"/>
|
|
</keyset>
|
|
<commandset id="tasksCommands">
|
|
<command id="Tasks:Navigator" oncommand="toNavigator();"/>
|
|
<command id="Tasks:ErrorConsole" oncommand="toJavaScriptConsole();"/>
|
|
</commandset>
|
|
|
|
|
|
<!-- Tasks Menu -->
|
|
<menu id="tasksMenu" label="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;">
|
|
<menupopup id="taskPopup">
|
|
<menu id="menu_passwordManager"
|
|
label="&passwordManagerCmd.label;"
|
|
accesskey="&passwordManagerCmd.accesskey;">
|
|
<menupopup>
|
|
<menuitem label="&passwordDisplayCmd.label;"
|
|
accesskey="&passwordDisplayCmd.accesskey;"
|
|
oncommand="toPasswordManager();"/>
|
|
<menuitem label="&passwordExpireCmd.label;"
|
|
accesskey="&passwordExpireCmd.accesskey;"
|
|
oncommand="ExpirePassword();"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuitem id="downloadmgr" label="&downloadManagerCmd.label;" accesskey="&downloadManagerCmd.accesskey;" oncommand="toDownloadManager();"/>
|
|
<menuitem id="addonsmgr" accesskey="&addonsManagerCmd.accesskey;"
|
|
label="&addonsManagerCmd.label;" oncommand="toEM();"/>
|
|
<menuseparator/>
|
|
<menu label="&webDevelopment.label;" accesskey="&webDevelopment.accesskey;">
|
|
<menupopup id="toolsPopup" onpopupshowing="javaItemEnabling();">
|
|
<menuitem id="javascriptConsole" label="&errorConsoleCmd.label;"
|
|
accesskey="&errorConsoleCmd.accesskey;"
|
|
key="key_errorConsole" command="Tasks:ErrorConsole"/>
|
|
<menuitem id="java" label="&javaConsoleCmd.label;" accesskey="&javaConsoleCmd.accesskey;" oncommand="toJavaConsole()"/>
|
|
</menupopup>
|
|
</menu>
|
|
<menuseparator id="sep_switchprofile"/>
|
|
<menuitem id="cmd_switchprofile" label="&switchProfileCmd.label;" accesskey="&switchProfileCmd.accesskey;" oncommand="toProfileManager();"/>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
<menu id="windowMenu" label="&windowMenu.label;" accesskey="&windowMenu.accesskey;"
|
|
datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot"
|
|
onpopupshowing="checkFocusedWindow();">
|
|
<template>
|
|
<rule>
|
|
<menupopup>
|
|
<menuitem uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#KeyIndex rdf:http://home.netscape.com/NC-rdf#Name" type="radio"
|
|
name="windowList" oncommand="ShowWindowFromResource(event.target)" accesskey="rdf:http://home.netscape.com/NC-rdf#KeyIndex"/>
|
|
</menupopup>
|
|
</rule>
|
|
</template>
|
|
<menupopup id="windowPopup">
|
|
<menuitem label="&navigatorCmd.label;" accesskey="&navigatorCmd.accesskey;" key="key_navigator" command="Tasks:Navigator" id="tasksMenuNavigator" class="menuitem-iconic icon-navigator16"/>
|
|
|
|
<!-- Overlays get stuffed in here. -->
|
|
<menuseparator id="sep-window-list"/>
|
|
</menupopup>
|
|
</menu>
|
|
|
|
|
|
<statusbarpanel id="component-bar" persist="collapsed">
|
|
<toolbarbutton class="taskbutton" id="mini-nav" oncommand="toNavigator();"
|
|
tooltiptext="&taskNavigator.tooltip;"/>
|
|
</statusbarpanel>
|
|
</overlay>
|