gecko-dev/mailnews/base/resources/content/subscribe.xul
varga%utcru.sk ff7ad62083 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
2002-01-16 03:01:28 +00:00

161 lines
7.1 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape 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/NPL/
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 Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<?xml-stylesheet href="chrome://messenger/skin/subscribe.css" type="text/css"?>
<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/subscribe.dtd">
<dialog xmlns:NC="http://home.netscape.com/NC-rdf#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="&subscribeDialog.title;"
width="500"
height="400"
persist="width height screenX screenY"
onload="SubscribeOnLoad()"
onunload="SubscribeOnUnload()"
ondialogaccept="return subscribeOK();"
ondialogcancel="return subscribeCancel();">
<stringbundle id="bundle_subscribe" src="chrome://messenger/locale/subscribe.properties"/>
<stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/>
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
<script type="application/x-javascript" src="chrome://messenger/content/mailCommands.js"/>
<script type="application/x-javascript" src="chrome://messenger/content/mailWindow.js"/>
<script type="application/x-javascript" src="chrome://messenger/content/subscribe.js"/>
<script type="application/x-javascript" src="chrome://messenger/content/widgetglue.js"/>
<grid flex="1" style="width: 40em; height: 25em;">
<columns>
<column flex="1"/>
<column/>
</columns>
<rows>
<row>
<grid flex="1">
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row>
<hbox pack="end" align="center">
<label value="&server.label;" control="serverMenu"/>
</hbox>
<menulist oncommand="onServerClick(event);" id="serverMenu"
datasources="rdf:msgaccountmanager rdf:mailnewsfolders"
containment="http://home.netscape.com/NC-rdf#child"
ref="msgaccounts:/" flex="1">
<template>
<rule NC:CanSubscribe="true">
<menupopup>
<menuitem class="subscribeMenuItem menuitem-iconic" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType" IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"/>
</menupopup>
</rule>
</template>
</menulist>
</row>
<row align="center">
<label value="&namefield.label;" id="namefieldlabel" control="namefield"/>
<textbox id="namefield" flex="1" oninput="Search();"/>
</row>
</rows>
</grid>
<spacer/>
</row>
<row>
<separator class="thin"/>
<spacer/>
</row>
<row flex="1">
<deck id="subscribedeck" selectedIndex="0">
<hbox id="normalview">
<tree flex="1"
id="subscribetree"
datasources="rdf:null"
seltype="multiple"
onclick="SubscribeOnClick(event);">
<template>
<rule>
<treechildren flex="1">
<treeitem uri="..." name="rdf:http://home.netscape.com/NC-rdf#Name" Subscribed="rdf:http://home.netscape.com/NC-rdf#Subscribed" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType">
<treerow>
<treecell indent="true" class="treecell-indent tree-cell-subscribe-icon" label="rdf:http://home.netscape.com/NC-rdf#LeafName" ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"/>
<treecell class="treecell-image subscribedcol" Subscribed="rdf:http://home.netscape.com/NC-rdf#Subscribed" allowevents="true"/>
<treecell label="rdf:http://home.netscape.com/NC-rdf#TotalMessages"/>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
<treecolgroup id="theSubscribeColumns">
<treecol persist="hidden width" width="0" flex="5" id="NameColumn" resource="http://home.netscape.com/NC-rdf#Name"/>
<splitter class="tree-splitter"/>
<treecol persist="hidden width" width="0" flex="1" id="SubscribedColumn" resource="http://home.netscape.com/NC-rdf#Subscribed"/>
<splitter class="tree-splitter"/>
<treecol persist="hidden width" width="0" flex="1" id="TotalMessagesColumn" resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
</treecolgroup>
<treehead>
<treerow id="headRow">
<treecell class="treecell-header outset" id="foldersheaderlabel" label="..." />
<treecell class="treecell-header outset" label="&subscribedHeader.label;"/>
<treecell class="treecell-header outset" label="&messagesHeader.label;"/>
</treerow>
</treehead>
</tree>
</hbox>
<hbox id="searchview">
<outliner id="searchOutliner" flex="1" onclick="SearchOnClick(event);">
<outlinercols>
<outlinercol id="nameCol" label="..." flex="5" width="0" persist="hidden width" ignoreincolumnpicker="true" />
<splitter class="tree-splitter" />
<outlinercol id="subscribedCol" flex="1" width="0" persist="hidden width" label="&subscribedHeader.label;" />
<splitter class="tree-splitter" />
<outlinercol id="messagesCol" label="&messagesHeader.label;" flex="1" width="0" persist="hidden width" />
</outlinercols>
<outlinerchildren id="searchOutlinerBody"/>
</outliner>
</hbox>
</deck>
<vbox>
<button id="subscribe" label="&subscribeButton.label;" oncommand="SetSubscribeState(true)"/>
<button id="unsubscribe" label="&unsubscribeButton.label;" oncommand="SetSubscribeState(false)"/>
<button id="refresh" label="&refreshButton.label;" oncommand="Refresh()"/>
<button id="stop" label="&stopButton.label;" oncommand="Stop()"/>
<spacer flex="1"/>
</vbox>
</row>
</rows>
</grid>
<hbox id="okayCancelContainerBox" align="right">
<button dlgtype="accept"/>
<button dlgtype="cancel"/>
</hbox>
<statusbar id="status-bar" class="chromeclass-status"/>
</dialog>