Fix for Bug 245736: importProgress dialog is unused and can be removed

r=neil, sr=bienvenu
This commit is contained in:
Stefan.Borggraefe%gmx.de 2004-07-15 10:06:47 +00:00
Родитель 75d3c28fa4
Коммит b7d4ca31c1
3 изменённых файлов: 0 добавлений и 150 удалений

Просмотреть файл

@ -1,87 +0,0 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla 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/MPL/
*
* 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.org code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1999
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either of the GNU General Public License Version 2 or later (the "GPL"),
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
var progressMeter = 0;
var progressInfo = null;
var progressStatus = null;
function OnLoadProgressDialog()
{
dump( "*** Loaded progress window\n");
top.progressMeter = document.getElementById( 'progressMeter');
top.progressStatus = document.getElementById( 'progressStatus');
// look in arguments[0] for parameters
if (window.arguments && window.arguments[0])
{
// keep parameters in global for later
if ( window.arguments[0].windowTitle )
top.window.title = window.arguments[0].windowTitle;
if ( window.arguments[0].progressTitle )
document.getElementById( 'progressTitle').setAttribute( "value", window.arguments[0].progressTitle);
if ( window.arguments[0].progressStatus )
top.progressStatus.setAttribute( "value", window.arguments[0].progressStatus);
top.progressInfo = window.arguments[0].progressInfo;
}
top.progressInfo.progressWindow = top.window;
top.progressInfo.intervalState = setInterval( "Continue()", 100);
}
function SetStatusText( val)
{
top.progressStatus.setAttribute( "value", val);
}
function SetProgress( val)
{
top.progressMeter.setAttribute( "value", val);
}
function Continue()
{
top.progressInfo.mainWindow.ContinueImport( top.progressInfo);
}

Просмотреть файл

@ -1,61 +0,0 @@
<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
Version: MPL 1.1/GPL 2.0/LGPL 2.1
The contents of this file are subject to the Mozilla 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/MPL/
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 the Initial Developer are Copyright (C) 1998-1999
the Initial Developer. All Rights Reserved.
Contributor(s):
Alternatively, the contents of this file may be used under the terms of
either of the GNU General Public License Version 2 or later (the "GPL"),
or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
in which case the provisions of the GPL or the LGPL are applicable instead
of those above. If you wish to allow use of your version of this file only
under the terms of either the GPL or the LGPL, and not to allow others to
use your version of this file under the terms of the MPL, indicate your
decision by deleting the provisions above and replace them with the notice
and other provisions required by the GPL or the LGPL. If you do not delete
the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL.
***** END LICENSE BLOCK ***** -->
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/importDialog.dtd">
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
class="dialog"
onload="OnLoadProgressDialog()">
<script type="application/x-javascript" src="chrome://messenger/content/importProgress.js"/>
<keyset id="dialogKeys"/>
<description class="header" id="progressTitle" value="&title.label;"/>
<description id="progressStatus" value="&processing.label;" flex="1"/>
<progressmeter id="progressMeter" mode="normal" value="5" flex="1"/>
</window>

Просмотреть файл

@ -173,8 +173,6 @@ messenger.jar:
content/messenger/messengercompose/mailComposeExtrasOverlay.xul (compose/resources/content/mailComposeExtrasOverlay.xul)
content/messenger/importDialog.js (import/resources/content/importDialog.js)
content/messenger/importDialog.xul (import/resources/content/importDialog.xul)
content/messenger/importProgress.xul (import/resources/content/importProgress.xul)
content/messenger/importProgress.js (import/resources/content/importProgress.js)
content/messenger/fieldMapImport.xul (import/resources/content/fieldMapImport.xul)
content/messenger/fieldMapImport.js (import/resources/content/fieldMapImport.js)
content/messenger/attach.js (mime/emitters/resources/content/attach.js)