diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-10 12:27:23 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-10 12:27:23 +0100 |
commit | 5df97df2fc3f0e9a3895da0d478d76694cf9c171 (patch) | |
tree | 68ee607b80f2cb0f03f9b6f51205c66d3157e452 /application/basilisk/components | |
parent | dd13d3ac4100bf08507a1037e935ca712e27baad (diff) | |
download | UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar.gz UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar.lz UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.tar.xz UXP-5df97df2fc3f0e9a3895da0d478d76694cf9c171.zip |
Restore quota view/warnings to Basilisk.
Diffstat (limited to 'application/basilisk/components')
-rw-r--r-- | application/basilisk/components/preferences/in-content/sync.js | 10 | ||||
-rw-r--r-- | application/basilisk/components/preferences/in-content/sync.xul | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/application/basilisk/components/preferences/in-content/sync.js b/application/basilisk/components/preferences/in-content/sync.js index 364172d9b..2600677a8 100644 --- a/application/basilisk/components/preferences/in-content/sync.js +++ b/application/basilisk/components/preferences/in-content/sync.js @@ -541,6 +541,16 @@ var gSyncPane = { }); }, + openQuotaDialog: function () { + let win = Services.wm.getMostRecentWindow("Sync:ViewQuota"); + if (win) { + win.focus(); + } else { + window.openDialog("chrome://browser/content/sync/quota.xul", "", + "centerscreen,chrome,dialog,modal"); + } + }, + openAddDevice: function () { if (!Weave.Utils.ensureMPUnlocked()) return; diff --git a/application/basilisk/components/preferences/in-content/sync.xul b/application/basilisk/components/preferences/in-content/sync.xul index f1aebf2aa..cf0e81ca1 100644 --- a/application/basilisk/components/preferences/in-content/sync.xul +++ b/application/basilisk/components/preferences/in-content/sync.xul @@ -71,6 +71,9 @@ label="&manageAccount.label;" accesskey="&manageAccount.accesskey;"> <menupopup> + <menuitem id="syncViewQuota" label="&viewQuota.label;" + oncommand="gSyncPane.openQuotaDialog();"/> + <menuseparator/> <menuitem id="syncChangePassword" label="&changePassword2.label;"/> <menuitem id="syncResetPassphrase" label="&myRecoveryKey.label;"/> <menuseparator/> @@ -91,11 +94,6 @@ <richlistbox id="syncEnginesList" orient="vertical"> <richlistitem> - <checkbox label="&engine.addons.label;" - accesskey="&engine.addons.accesskey;" - preference="engine.addons"/> - </richlistitem> - <richlistitem> <checkbox label="&engine.bookmarks.label;" accesskey="&engine.bookmarks.accesskey;" preference="engine.bookmarks"/> |