Add HYPE_ICEWEASEL where appropriate

This commit is contained in:
NTD 2018-06-28 15:50:23 -04:00 • committed by Roy Tam
commit 50f4bff9a5
4 changed files with 17 additions and 5 deletions

View file

@ -727,10 +727,12 @@ function escapeKeyHandler() {
window.close();
}
#if defined(MC_BASILISK) && defined(XP_WIN)
#ifdef XP_WIN
#if defined(MC_BASILISK) || defined(HYPE_ICEWEASEL)
function OpenMigrator() {
const { MigrationUtils } = Cu.import("resource:///modules/MigrationUtils.jsm", {});
// We pass in the type of source we're using for use in telemetry:
MigrationUtils.showMigrationWizard(window, [MigrationUtils.MIGRATION_ENTRYPOINT_PASSWORDS]);
}
#endif
#endif

View file

@ -112,10 +112,12 @@
<button id="removeAllSignons" icon="clear"
oncommand="DeleteAllSignons();"/>
<spacer flex="1"/>
#if defined(MC_BASILISK) && defined(XP_WIN)
#ifdef XP_WIN
#if defined(MC_BASILISK) || defined(HYPE_ICEWEASEL)
<button accesskey="&import.accesskey;"
label="&import.label;"
oncommand="OpenMigrator();"/>
#endif
#endif
<button id="togglePasswords"
oncommand="TogglePasswordVisible();"/>