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.

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

mercurial