94 lines
3.1 KiB
XML
94 lines
3.1 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE overlay [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
%brandDTD;
|
|
<!ENTITY % taskbarDTD SYSTEM "chrome://communicator/locale/taskbarOverlay.dtd" >
|
|
%taskbarDTD;
|
|
]>
|
|
|
|
<overlay id="taskbarOverlay"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:nc="http://home.netscape.com/NC-rdf#">
|
|
|
|
<hbox id="taskbarMenuBox" datasources="chrome://communicator-region/locale/taskbar.rdf"
|
|
ref="chrome://communicator-region/locale/taskbar.rdf#root"
|
|
containment="http://home.netscape.com/NC-rdf#entry http://home.netscape.com/NC-rdf#child">
|
|
|
|
<spacer flex="1"/>
|
|
|
|
<template>
|
|
<!-- Rules for content hanging _directly_ off the toolbar -->
|
|
<rule parent="box" iscontainer="true">
|
|
<menubutton class="button-toolbar-4"
|
|
uri="..."
|
|
tooltiptext="rdf:http://home.netscape.com/NC-rdf#tooltip"
|
|
label="rdf:http://home.netscape.com/NC-rdf#title">
|
|
<menupopup popupalign="bottomleft" popupanchor="topleft"/>
|
|
</menubutton>
|
|
<spacer uri="rdf:*" class="taskbarspacer" flex="1"/>
|
|
</rule>
|
|
|
|
<rule parent="box">
|
|
<button class="button-toolbar-4" uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#title"
|
|
crop="right"/>
|
|
</rule>
|
|
|
|
<!-- Recursive rules for nested folders -->
|
|
<rule iscontainer="true">
|
|
<menupopup>
|
|
<menu uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#title" >
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
|
|
<!-- second level folders -->
|
|
<rule iscontainer="true">
|
|
<menupopup popupalign="bottomleft" popupanchor="topleft">
|
|
<menu uri="..." label="rdf:http://home.netscape.com/NC-rdf#title">
|
|
<menupopup/>
|
|
</menu>
|
|
</menupopup>
|
|
</rule>
|
|
|
|
|
|
<!-- Menu separators -->
|
|
<rule nc:separator="sep">
|
|
<menupopup>
|
|
<menuseparator uri="rdf:*" />
|
|
</menupopup>
|
|
</rule>
|
|
|
|
<rule>
|
|
<menupopup>
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#title"
|
|
oncommand="rdf:http://home.netscape.com/NC-rdf#content"/>
|
|
</menupopup>
|
|
</rule>
|
|
|
|
</template>
|
|
<spacer class="taskbarspacer" flex="9"/>
|
|
</hbox>
|
|
|
|
<hbox id="taskbarGotoMenuBox" flex="1">
|
|
<!-- The "Open Windows" menu uses the window mediator
|
|
to display all of the open windows -->
|
|
<menubutton oncommand="ShowWindowFromResource(event.target)"
|
|
datasources="rdf:window-mediator" ref="NC:WindowMediatorRoot"
|
|
tooltiptext="&taskWindowList.tooltip;"
|
|
label="&openWinButton.label;" class="button-toolbar-4">
|
|
<template>
|
|
<menupopup>
|
|
<menuitem uri="rdf:*" label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
</menupopup>
|
|
</template>
|
|
<menupopup popupalign="bottomleft" popupanchor="topleft" />
|
|
</menubutton>
|
|
|
|
<!-- spacer to accommodate mac resize box -->
|
|
<spacer id="resizer" style="width: 20px;"/>
|
|
</hbox>
|
|
|
|
</overlay>
|