summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-01-16 01:57:41 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-01-16 02:08:16 +0100
commit3aac95141154dde26268e0114486f5620717bb68 (patch)
tree6d9348ca81de56c8341a26e83bd0d3d21d961ad4 /application/palemoon/components/preferences
parent1a6159363f80b0968b74e01ba372d5ef1ffd990a (diff)
downloadUXP-3aac95141154dde26268e0114486f5620717bb68.tar
UXP-3aac95141154dde26268e0114486f5620717bb68.tar.gz
UXP-3aac95141154dde26268e0114486f5620717bb68.tar.lz
UXP-3aac95141154dde26268e0114486f5620717bb68.tar.xz
UXP-3aac95141154dde26268e0114486f5620717bb68.zip
[PALEMOON] Add captive portal preference to the UI. (uplift)
Tag #860
Diffstat (limited to 'application/palemoon/components/preferences')
-rw-r--r--application/palemoon/components/preferences/advanced.xul12
1 files changed, 12 insertions, 0 deletions
diff --git a/application/palemoon/components/preferences/advanced.xul b/application/palemoon/components/preferences/advanced.xul
index 3bd5becb3..7fa14f259 100644
--- a/application/palemoon/components/preferences/advanced.xul
+++ b/application/palemoon/components/preferences/advanced.xul
@@ -51,6 +51,8 @@
type="bool"/>
#endif
<preference id="pref.general.compatmode" name="general.useragent.compatMode" type="int"/>
+
+ <preference id="pref.general.captiveportal" name="network.captive-portal-service.enabled" type="bool"/>
<!-- Data Choices tab -->
@@ -193,6 +195,7 @@
</hbox>
</groupbox>
#endif
+ <!-- User Agent compatibility -->
<groupbox id="UACompatGroup" orient="vertical">
<caption label="&UACompatGroup.label;"/>
<hbox align="center">
@@ -206,6 +209,15 @@
</menulist>
</hbox>
</groupbox>
+
+ <!-- Captive portal detection -->
+ <groupbox id="captivePortalGroup" orient="vertical">
+ <caption label="&captivePortalGroup.label;"/>
+ <checkbox id="captivePortalDetect"
+ label="&captivePortalDetect.label;"
+ preference="pref.general.captiveportal"/>
+ </groupbox>
+
</tabpanel>
<!-- Network -->