mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Add the import wizard to settings, fix Chromium Edge
This commit is contained in:
parent
75af6c218d
commit
78baea7a1d
6 changed files with 116 additions and 9 deletions
|
|
@ -5,6 +5,7 @@
|
|||
Components.utils.import("resource://gre/modules/Downloads.jsm");
|
||||
Components.utils.import("resource://gre/modules/FileUtils.jsm");
|
||||
Components.utils.import("resource://gre/modules/Task.jsm");
|
||||
Components.utils.import("resource:///modules/MigrationUtils.jsm");
|
||||
Components.utils.import("resource:///modules/ShellService.jsm");
|
||||
Components.utils.import("resource:///modules/TransientPrefs.jsm");
|
||||
|
||||
|
|
@ -75,6 +76,8 @@ var gMainPane = {
|
|||
gMainPane.setHomePageToBookmark);
|
||||
setEventListener("restoreDefaultHomePage", "command",
|
||||
gMainPane.restoreDefaultHomePage);
|
||||
setEventListener("openMigrationWizard", "command",
|
||||
gMainPane.openMigrationWizard);
|
||||
setEventListener("chooseFolder", "command",
|
||||
gMainPane.chooseFolder);
|
||||
|
||||
|
|
@ -244,6 +247,11 @@ var gMainPane = {
|
|||
homePage.value = homePage.defaultValue;
|
||||
},
|
||||
|
||||
openMigrationWizard: function ()
|
||||
{
|
||||
MigrationUtils.showMigrationWizard(window, [MigrationUtils.MIGRATION_ENTRYPOINT_PLACES]);
|
||||
},
|
||||
|
||||
// DOWNLOADS
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -244,6 +244,20 @@
|
|||
</radiogroup>
|
||||
</groupbox>
|
||||
|
||||
<!-- Import -->
|
||||
<groupbox id="importGroup"
|
||||
data-category="paneGeneral"
|
||||
hidden="true">
|
||||
<caption><label>&importGroup.label;</label></caption>
|
||||
|
||||
<hbox>
|
||||
<button id="openMigrationWizard"
|
||||
class="content-cell-item"
|
||||
label="&importBrowserData.label;"
|
||||
accesskey="&importBrowserData.accesskey;"/>
|
||||
</hbox>
|
||||
</groupbox>
|
||||
|
||||
<!-- Tab preferences -->
|
||||
<groupbox data-category="paneGeneral"
|
||||
hidden="true" align="start">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue