Bug 226959 removing some unused files from the build r=timeless sr=alecf

git-svn-id: svn://10.0.0.236/trunk@152601 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
neil%parkwaycc.co.uk
2004-02-10 18:06:11 +00:00
parent cf54f26942
commit 733dae9ba7
5 changed files with 0 additions and 86 deletions

View File

@@ -1,34 +0,0 @@
var gMigrationBundle;
var profile = Components.classes["@mozilla.org/profile/manager;1"].getService();
profile = profile.QueryInterface(Components.interfaces.nsIProfileInternal);
function handleOKButton()
{
profile.automigrate = true;
return true;
}
function handleCancelButton()
{
profile.automigrate = false;
return true;
}
function onLoad()
{
gMigrationBundle = document.getElementById("bundle_migration");
doSetOKCancel(handleOKButton, handleCancelButton);
var okButton = document.getElementById("ok");
var cancelButton = document.getElementById("cancel");
if (!okButton || !cancelButton)
return false;
okButton.setAttribute("label", gMigrationBundle.getString("migrate"));
okButton.setAttribute("class", okButton.getAttribute("class") + " padded");
cancelButton.setAttribute("label", gMigrationBundle.getString("newprofile"));
cancelButton.setAttribute("class", cancelButton.getAttribute("class") + " padded");
okButton.focus();
centerWindowOnScreen();
return true;
}

View File

@@ -1,41 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/profile/profile.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
<!DOCTYPE window [
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
%brandDTD;
<!ENTITY % migrationDTD SYSTEM "chrome://communicator/locale/profile/confirmMigration.dtd" >
%migrationDTD;
]>
<window xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
orient="vertical"
title="&window.title;"
onload="onLoad()"
class="dialog">
<stringbundle id="bundle_migration"
src="chrome://communicator/locale/profile/migration.properties"/>
<script type="application/x-javascript" src="chrome://communicator/content/profile/confirmMigration.js"/>
<keyset id="keyset"/>
<hbox>
<vbox>
<image class="message-icon"/>
<spacer flex="1"/>
</vbox>
<separator orient="vertical" class="thin"/>
<vbox flex="1">
<description>&confirmMigrationPart1.label;</description>
<description>&confirmMigrationPart2.label;</description>
</vbox>
</hbox>
<separator class="thin"/>
<hbox id="okCancelButtons"/>
</window>

View File

@@ -1,6 +1,4 @@
comm.jar:
content/communicator/profile/confirmMigration.js (content/confirmMigration.js)
content/communicator/profile/confirmMigration.xul (content/confirmMigration.xul)
content/communicator/profile/createProfileWizard.js (content/createProfileWizard.js)
content/communicator/profile/createProfileWizard.xul (content/createProfileWizard.xul)
content/communicator/profile/migrateAllProfile.xul (content/migrateAllProfile.xul)
@@ -11,7 +9,6 @@ comm.jar:
content/communicator/profile/selectLang.xul (content/selectLang.xul)
en-US.jar:
locale/en-US/communicator/profile/confirmMigration.dtd (locale/en-US/confirmMigration.dtd)
locale/en-US/communicator/profile/createProfileWizard.dtd (locale/en-US/createProfileWizard.dtd)
locale/en-US/communicator/profile/migration.properties (locale/en-US/migration.properties)
locale/en-US/communicator/profile/profileManager.properties (locale/en-US/profileManager.properties)

View File

@@ -1,7 +0,0 @@
<!ENTITY window.title "Confirm Migration">
<!-- LOCALIZATION NOTE (confirmMigrationPart1.label): Don't translate "&brandShortName" -->
<!ENTITY confirmMigrationPart1.label "You are about to create a &brandShortName; profile based on your profile from a previous version of Netscape.">
<!ENTITY confirmMigrationPart2.label "This will copy and convert some of your profile files created by a previous version of Netscape to work with &brandShortName;. Your original Netscape profile will not be altered.">
<!ENTITY confirmMigrationPart3.label "Click OK if you want to proceed with this conversion.">
<!ENTITY confirmMigrationPart4.label "(If you click Cancel, you can always do it later.)">

View File

@@ -111,7 +111,6 @@
#define PROFILE_MANAGER_URL "chrome://communicator/content/profile/profileSelection.xul?manage=true"
#define PROFILE_MANAGER_CMD_LINE_ARG "-ProfileManager"
#define PROFILE_WIZARD_URL "chrome://communicator/content/profile/createProfileWizard.xul"
#define CONFIRM_AUTOMIGRATE_URL "chrome://communicator/content/profile/confirmMigration.xul"
#define PROFILE_WIZARD_CMD_LINE_ARG "-ProfileWizard"
#define INSTALLER_CMD_LINE_ARG "-installer"
#define CREATE_PROFILE_CMD_LINE_ARG "-CreateProfile"