browser/components/migration/content/migration.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <?xml version="1.0"?>
michael@0 2 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5
michael@0 6 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 7
michael@0 8 <!DOCTYPE dialog SYSTEM "chrome://browser/locale/migration/migration.dtd" >
michael@0 9
michael@0 10 <wizard id="migrationWizard"
michael@0 11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 12 windowtype="Browser:MigrationWizard"
michael@0 13 title="&migrationWizard.title;"
michael@0 14 onload="MigrationWizard.init()"
michael@0 15 onunload="MigrationWizard.uninit()"
michael@0 16 style="width: 40em;"
michael@0 17 buttons="accept,cancel"
michael@0 18 branded="true">
michael@0 19
michael@0 20 <script type="application/javascript" src="chrome://browser/content/migration/migration.js"/>
michael@0 21
michael@0 22 <stringbundle id="brandBundle" src="chrome://branding/locale/brand.properties"/>
michael@0 23
michael@0 24 <wizardpage id="importSource" pageid="importSource" next="selectProfile"
michael@0 25 label="&importSource.title;"
michael@0 26 onpageadvanced="return MigrationWizard.onImportSourcePageAdvanced();">
michael@0 27 #ifdef XP_WIN
michael@0 28 <description id="importAll" control="importSourceGroup">&importFrom.label;</description>
michael@0 29 #else
michael@0 30 <description id="importAll" control="importSourceGroup">&importFromUnix.label;</description>
michael@0 31 #endif
michael@0 32 <description id="importBookmarks" control="importSourceGroup" hidden="true">&importFromBookmarks.label;</description>
michael@0 33
michael@0 34 <radiogroup id="importSourceGroup" align="start">
michael@0 35 #ifdef XP_WIN
michael@0 36 <radio id="ie" label="&importFromIE.label;" accesskey="&importFromIE.accesskey;"/>
michael@0 37 <radio id="chrome" label="&importFromChrome.label;" accesskey="&importFromChrome.accesskey;"/>
michael@0 38 <radio id="safari" label="&importFromSafari.label;" accesskey="&importFromSafari.accesskey;"/>
michael@0 39 #elifdef XP_MACOSX
michael@0 40 <radio id="safari" label="&importFromSafari.label;" accesskey="&importFromSafari.accesskey;"/>
michael@0 41 <radio id="chrome" label="&importFromChrome.label;" accesskey="&importFromChrome.accesskey;"/>
michael@0 42 #elifdef XP_UNIX
michael@0 43 <radio id="chrome" label="&importFromChrome.label;" accesskey="&importFromChrome.accesskey;"/>
michael@0 44 #endif
michael@0 45 <radio id="firefox" label="&importFromFirefox.label;" accesskey="&importFromFirefox.accesskey;"/>
michael@0 46 <radio id="nothing" label="&importFromNothing.label;" accesskey="&importFromNothing.accesskey;" hidden="true"/>
michael@0 47 </radiogroup>
michael@0 48 <label id="noSources" hidden="true">&noMigrationSources.label;</label>
michael@0 49 </wizardpage>
michael@0 50
michael@0 51 <wizardpage id="selectProfile" pageid="selectProfile" label="&selectProfile.title;"
michael@0 52 next="importItems"
michael@0 53 onpageshow="return MigrationWizard.onSelectProfilePageShow();"
michael@0 54 onpagerewound="return MigrationWizard.onSelectProfilePageRewound();"
michael@0 55 onpageadvanced="return MigrationWizard.onSelectProfilePageAdvanced();">
michael@0 56 <description control="profiles">&selectProfile.label;</description>
michael@0 57
michael@0 58 <radiogroup id="profiles" align="left"/>
michael@0 59 </wizardpage>
michael@0 60
michael@0 61 <wizardpage id="importItems" pageid="importItems" label="&importItems.title;"
michael@0 62 next="homePageImport"
michael@0 63 onpageshow="return MigrationWizard.onImportItemsPageShow();"
michael@0 64 onpagerewound="return MigrationWizard.onImportItemsPageRewound();"
michael@0 65 onpageadvanced="return MigrationWizard.onImportItemsPageAdvanced();"
michael@0 66 oncommand="MigrationWizard.onImportItemCommand();">
michael@0 67 <description control="dataSources">&importItems.label;</description>
michael@0 68
michael@0 69 <vbox id="dataSources" style="overflow: auto; -moz-appearance: listbox" align="left" flex="1" role="group"/>
michael@0 70 </wizardpage>
michael@0 71
michael@0 72 <wizardpage id="homePageImport" pageid="homePageImport"
michael@0 73 next="migrating"
michael@0 74 onpageshow="return MigrationWizard.onHomePageMigrationPageShow();"
michael@0 75 onpageadvanced="return MigrationWizard.onHomePageMigrationPageAdvanced();">
michael@0 76
michael@0 77 <description id="homePageImportDesc" control="homePageRadioGroup"/>
michael@0 78 <radiogroup id="homePageRadiogroup">
michael@0 79 <radio id="homePageSingleStart" selected="true" />
michael@0 80 <radio id="oldHomePage" hidden="true" />
michael@0 81 </radiogroup>
michael@0 82 </wizardpage>
michael@0 83
michael@0 84 <wizardpage id="migrating" pageid="migrating" label="&migrating.title;"
michael@0 85 next="done"
michael@0 86 onpageshow="MigrationWizard.onMigratingPageShow();">
michael@0 87 <description control="migratingItems">&migrating.label;</description>
michael@0 88
michael@0 89 <vbox id="migratingItems" style="overflow: auto;" align="left" role="group"/>
michael@0 90 </wizardpage>
michael@0 91
michael@0 92 <wizardpage id="done" pageid="done" label="&done.title;"
michael@0 93 onpageshow="MigrationWizard.onDonePageShow();">
michael@0 94 <description control="doneItems">&done.label;</description>
michael@0 95
michael@0 96 <vbox id="doneItems" style="overflow: auto;" align="left" role="group"/>
michael@0 97 </wizardpage>
michael@0 98
michael@0 99 </wizard>
michael@0 100

mercurial