[Pale-Moon] Re-organize the Privacy category in preferences.

This commit is contained in:
Moonchild 2021-06-27 21:56:28 +00:00 • committed by roytam1
commit b671986b15

View file

@ -1,6 +1,6 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- --> <!-- -*- Mode: XML; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public <!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this - License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. --> - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
@ -87,20 +87,9 @@
<script type="application/javascript" src="chrome://browser/content/preferences/privacy.js"/> <script type="application/javascript" src="chrome://browser/content/preferences/privacy.js"/>
<tabbox id="privacyPrefs" flex="1"
onselect="gPrivacyPane.tabSelectionChanged();">
<tabs id="tabsElement">
<tab id="historyTab" label="&history.label;"/>
<tab id="trackingTab" label="&tracking.label;"/>
<tab id="locationBarTab" label="&locationBar.label;"/>
</tabs>
<tabpanels flex="1">
<!-- History --> <!-- History -->
<tabpanel id="historyPanel" orient="vertical"> <groupbox id="historyPanel">
<caption>&history.label;</caption>
<hbox align="center"> <hbox align="center">
<label id="historyModeLabel" <label id="historyModeLabel"
control="historyMode" control="historyMode"
@ -169,7 +158,6 @@
label="&rememberSearchForm.label;" label="&rememberSearchForm.label;"
accesskey="&rememberSearchForm.accesskey;" accesskey="&rememberSearchForm.accesskey;"
preference="browser.formfill.enable"/> preference="browser.formfill.enable"/>
<hbox id="cookiesBox"> <hbox id="cookiesBox">
<checkbox id="acceptCookies" label="&acceptCookies.label;" flex="1" <checkbox id="acceptCookies" label="&acceptCookies.label;" flex="1"
preference="network.cookie.cookieBehavior" preference="network.cookie.cookieBehavior"
@ -180,7 +168,6 @@
label="&cookieExceptions.label;" accesskey="&cookieExceptions.accesskey;" label="&cookieExceptions.label;" accesskey="&cookieExceptions.accesskey;"
preference="pref.privacy.disable_button.cookie_exceptions"/> preference="pref.privacy.disable_button.cookie_exceptions"/>
</hbox> </hbox>
<hbox id="acceptThirdPartyRow" class="indent"> <hbox id="acceptThirdPartyRow" class="indent">
<hbox id="acceptThirdPartyBox" align="center"> <hbox id="acceptThirdPartyBox" align="center">
<label id="acceptThirdPartyLabel" control="acceptThirdPartyMenu" <label id="acceptThirdPartyLabel" control="acceptThirdPartyMenu"
@ -231,11 +218,12 @@
</vbox> </vbox>
</deck> </deck>
</tabpanel> </groupbox>
<!-- Tracking --> <!-- Tracking -->
<tabpanel id="trackingPanel" orient="vertical"> <groupbox id="trackingPanel">
<caption>&tracking.label;</caption>
<hbox align="center">
<checkbox id="privacyDoNotTrackCheckbox" <checkbox id="privacyDoNotTrackCheckbox"
label="&dntTrackingNotOkay.label2;" label="&dntTrackingNotOkay.label2;"
accesskey="&dntTrackingNotOkay.accesskey;" accesskey="&dntTrackingNotOkay.accesskey;"
@ -245,14 +233,15 @@
href="https://www.mozilla.org/dnt" href="https://www.mozilla.org/dnt"
value="&doNotTrackInfo.label;"/> value="&doNotTrackInfo.label;"/>
</tabpanel> </hbox>
</groupbox>
<!-- Location Bar --> <!-- Location Bar -->
<tabpanel id="locatioBarPanel" orient="vertical"> <groupbox id="locatioBarPanel">
<caption>&locationBar.label;</caption>
<label id="locationBarSuggestionLabel">&locbar.suggest.label;</label> <label id="locationBarSuggestionLabel">&locbar.suggest.label;</label>
<hbox id="tabPrefsBox" align="center" flex="1">
<vbox id="tabPrefsBox" align="start" flex="1">
<checkbox id="historySuggestion" label="&locbar.history.label;" <checkbox id="historySuggestion" label="&locbar.history.label;"
accesskey="&locbar.history.accesskey;" accesskey="&locbar.history.accesskey;"
preference="browser.urlbar.suggest.history"/> preference="browser.urlbar.suggest.history"/>
@ -262,12 +251,10 @@
<checkbox id="openpageSuggestion" label="&locbar.openpage.label;" <checkbox id="openpageSuggestion" label="&locbar.openpage.label;"
accesskey="&locbar.openpage.accesskey;" accesskey="&locbar.openpage.accesskey;"
preference="browser.urlbar.suggest.openpage"/> preference="browser.urlbar.suggest.openpage"/>
</vbox> </hbox>
</tabpanel> </groupbox>
</tabpanels>
</tabbox>
</prefpane> </prefpane>
</overlay> </overlay>