gecko-dev/mailnews/base/resources/content/msgPrintEngine.xul
sspitzer%netscape.com 76995cb4d8 fix for #73995. hide the print engine xul window when printing.
it really confuses users, who think maybe it's a print preview dialog.
this hiding piggy backs on the work of ducarroz and rods for bug #109081
also, fix the interCaps of the interface while I'm here.
thanks to rods for the initial patch.  r=ducarroz, sr=bienvenu, a=asa
2002-03-06 00:53:45 +00:00

44 lines
1.6 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/dialogs.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<window id="printEngineWin"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:nc="http://home.netscape.com/NC-rdf#"
onload="OnLoadPrintEngine()"
onunload="OnUnloadPrintEngine()"
width="500"
height="500"
windowtype="mail:printEngine">
<!-- XXX: utilityOverlay.xul uses strres.js - once it is converted, this should be removed-->
<script src="chrome://global/content/strres.js"/>
<script src="chrome://messenger/content/msgPrintEngine.js"/>
<!-- The main display frame -->
<iframe id="printengine" style="height: 0px" flex="1" name="printengine" type="content" src="about:blank" />
</window>