varga%utcru.sk 763dd8095d Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt


git-svn-id: svn://10.0.0.236/trunk@112268 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:01:28 +00:00

196 lines
8.5 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/help.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
<?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd" >
%helpDTD;
<!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
%navigatorDTD;
]>
<window id="help"
windowtype="mozilla:help"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&helpWin.ttl;"
width="640"
height="650"
persist="width height screenX screenY"
onload="init();" >
<script type="application/x-javascript" src="chrome://help/content/help.js"/>
<script type="application/x-javascript" src="chrome://navigator/content/sessionHistoryUI.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/bookmarks/bookmarksOverlay.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsJSSupportsUtils.js"/>
<popup id="backMenu" position="after_start" onpopupshowing="return createBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
<popup id="forwardMenu" position="after_start" onpopupshowing="return createForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
<popupset id="contentAreaContextSet"/>
<broadcasterset id="helpBroadcasters">
<broadcaster id="canGoBack" disabled="true"/>
<broadcaster id="canGoForward" disabled="true"/>
</broadcasterset>
<commandset id="globalEditMenuItems"/>
<commandset id="selectEditMenuItems">
<command id="cmd_undo"/>
<command id="cmd_redo"/>
<command id="cmd_cut"/>
<command id="cmd_copy"/>
<command id="cmd_paste"/>
<command id="cmd_delete"/>
<command id="cmd_selectAll"/>
<command id="cmd_close" oncommand="close();"/>
<command id="Browser:Home" oncommand="goHome();"/>
<command id="Browser:Back" oncommand="goBack();" observes="canGoBack"/>
<command id="Browser:Forward" oncommand="goForward();" observes="canGoForward"/>
<command id="cmd_copyLink"/>
<command id="cmd_copyImageLocation"/>
<command id="cmd_copyImageContents"/>
</commandset>
<commandset id="clipboardEditMenuItems"/>
<commandset id="viewZoomCommands"/>
<keyset id="keys">
<key id="key_close"/>
<key id="printKb" key="&printCmd.commandkey;" oncommand="print();" modifiers="accel"/>
<keyset id="viewZoomKeys"/>
<keyset id="navigationKeys"/>
<key id="key_find" key="&findOnCmd.commandkey;" oncommand="find(false);" modifiers="accel"/>
<key id="key_findAgain" key="&findAgainCmd.commandkey;" oncommand="find(true);" modifiers="accel"/>
<key id="key_viewSource" key="&pageSourceCmd.commandkey;" oncommand="BrowserViewSource();" modifiers="accel"/>
<key id="key_viewInfo" key="&pageInfoCmd.commandkey;" oncommand="BrowserPageInfo();" modifiers="accel"/>
</keyset>
<stringbundle id="bundle_viewZoom"/>
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
<vbox flex="1">
<!-- button bar -->
<toolbox id="help-toolbox" class="toolbox-top" deferattached="true">
<toolbar id="helpToolbar" class="toolbar-primary"
grippytooltiptext="&toolbar.tooltip;"
tbalign="stretch" persist="collapsed">
<toolbarbutton id="helpBackButton" type="menu-button" class="toolbarbutton-1"
label="&backBtn.label;" crop="right"
oncommand="if (event.target==this) goBack(); else gotoHistoryIndex(event);"
observes="canGoBack" context="backMenu"
tooltiptext="&backButton.tooltip;">
<menupopup context="" onpopupshowing="createBackMenu(event);"/>
</toolbarbutton>
<toolbarbutton id="helpForwardButton" type="menu-button" class="toolbarbutton-1"
label="&fwdBtn.label;" crop="right"
tooltiptext="&forwardButton.tooltip;"
oncommand="if (event.target==this) goForward(); else gotoHistoryIndex(event);"
observes="canGoForward" context="forwardMenu">
<menupopup context="" onpopupshowing="createForwardMenu(event);"/>
</toolbarbutton>
<toolbarbutton id="helpHomeButton" class="toolbarbutton-1"
label="&homeBtn.label;" oncommand="goHome();"
tooltiptext="&homeBtn.tooltip;"/>
<spacer flex="1"/>
<toolbarbutton id="print" class="toolbarbutton-1"
label="&printButton.label;" oncommand="print();"
tooltiptext="&printButton.tooltip;"/>
</toolbar>
</toolbox>
<!-- the two help panes (sidebar & content) -->
<hbox flex="1">
<vbox id="helpsidebar-box" flex="10">
<separator class="thin"/>
<tabbox flex="1">
<tabs>
<tab label="&tab1.label;"/>
<tab label="&tab2.label;"/>
</tabs>
<tabpanels flex="1">
<hbox id="help-toc">
<outliner id="help-toc-outliner" flex="1"
datasources="chrome://help/locale/help-toc.rdf"
ref="urn:root" flags="dont-build-content"
containment="http://home.netscape.com/NC-rdf#subheadings"
onselect="selectItem();">
<template>
<rule>
<conditions>
<outlineritem uri="?uri"/>
<triple subject="?uri"
predicate="http://home.netscape.com/NC-rdf#subheadings"
object="?subheadings" />
<member container="?subheadings" child="?subheading"/>
</conditions>
<bindings>
<binding subject="?subheading"
predicate="http://home.netscape.com/NC-rdf#name"
object="?name" />
</bindings>
<action>
<outlinerchildren>
<outlineritem uri="?subheading">
<outlinerrow>
<outlinercell ref="Column" label="?name"/>
</outlinerrow>
</outlineritem>
</outlinerchildren>
</action>
</rule>
</template>
<outlinercols>
<outlinercol flex="1" id="Column" primary="true"/>
</outlinercols>
</outliner>
</hbox>
<hbox id="help-index">
<!-- right now this makes the toc as wide as the content area -->
<iframe flex="1" style="min-width: 0px; width: 0px;"
src="chrome://help/locale/help_index.html" />
</hbox>
</tabpanels>
</tabbox>
</vbox>
<splitter id="helpsidebar-splitter"
collapse="before"
persist="state hidden"
state="open">
<grippy/>
</splitter>
<!-- this stuff lifted from navigator.xul -->
<vbox id="appcontent" flex="5">
<!-- this box is temporary, pending XBLified <browser> -->
<hbox id="browser" flex="1">
<!-- type attribute is used by frame construction to locate iframes
intended to hold (html) content -->
<browser context="contentAreaContextMenu" type="content-primary" id="help-content"
src="about:blank" flex="1"
ondraggesture="nsDragAndDrop.startDrag(event, contentAreaDNDObserver);"
onclick="return contentAreaClick(event);"/>
</hbox>
</vbox>
</hbox>
</vbox>
</window>