Bug 1031527 - Remove dup fd from ParamTraits<MagicGrallocBufferHandle>::Read(). r...
[gecko.git] / browser / components / preferences / connection.xul
blob7debc2bf801d64406237cb36220c7992bb0bd6fe
1 <?xml version="1.0"?>
3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 <!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/connection.dtd">
10 <?xml-stylesheet href="chrome://global/skin/"?>
12 <prefwindow id="ConnectionsDialog" type="child"
13 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
14 title="&connectionsDialog.title;"
15 dlgbuttons="accept,cancel,help"
16 onbeforeaccept="return gConnectionsDialog.beforeAccept();"
17 onload="gConnectionsDialog.checkForSystemProxy();"
18 ondialoghelp="openPrefsHelp()"
19 #ifdef XP_MACOSX
20 style="width: &window.macWidth; !important;">
21 #else
22 style="width: &window.width; !important;">
23 #endif
25 <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
27 <prefpane id="ConnectionsDialogPane"
28 helpTopic="prefs-connection-settings">
30 <preferences>
31 <preference id="network.proxy.type" name="network.proxy.type" type="int" onchange="gConnectionsDialog.proxyTypeChanged();"/>
32 <preference id="network.proxy.http" name="network.proxy.http" type="string"/>
33 <preference id="network.proxy.http_port" name="network.proxy.http_port" type="int"/>
34 <preference id="network.proxy.ftp" name="network.proxy.ftp" type="string"/>
35 <preference id="network.proxy.ftp_port" name="network.proxy.ftp_port" type="int"/>
36 <preference id="network.proxy.ssl" name="network.proxy.ssl" type="string"/>
37 <preference id="network.proxy.ssl_port" name="network.proxy.ssl_port" type="int"/>
38 <preference id="network.proxy.socks" name="network.proxy.socks" type="string"/>
39 <preference id="network.proxy.socks_port" name="network.proxy.socks_port" type="int"/>
40 <preference id="network.proxy.socks_version" name="network.proxy.socks_version" type="int" onchange="gConnectionsDialog.updateDNSPref();"/>
41 <preference id="network.proxy.socks_remote_dns" name="network.proxy.socks_remote_dns" type="bool"/>
42 <preference id="network.proxy.no_proxies_on" name="network.proxy.no_proxies_on" type="string"/>
43 <preference id="network.proxy.autoconfig_url" name="network.proxy.autoconfig_url" type="string"/>
44 <preference id="network.proxy.share_proxy_settings"
45 name="network.proxy.share_proxy_settings"
46 type="bool"/>
47 <preference id="signon.autologin.proxy"
48 name="signon.autologin.proxy"
49 type="bool"/>
51 <preference id="pref.advanced.proxies.disable_button.reload"
52 name="pref.advanced.proxies.disable_button.reload"
53 type="bool"/>
55 <preference id="network.proxy.backup.ftp" name="network.proxy.backup.ftp" type="string"/>
56 <preference id="network.proxy.backup.ftp_port" name="network.proxy.backup.ftp_port" type="int"/>
57 <preference id="network.proxy.backup.ssl" name="network.proxy.backup.ssl" type="string"/>
58 <preference id="network.proxy.backup.ssl_port" name="network.proxy.backup.ssl_port" type="int"/>
59 <preference id="network.proxy.backup.socks" name="network.proxy.backup.socks" type="string"/>
60 <preference id="network.proxy.backup.socks_port" name="network.proxy.backup.socks_port" type="int"/>
61 </preferences>
63 <script type="application/javascript" src="chrome://browser/content/preferences/connection.js"/>
65 <stringbundle id="preferencesBundle" src="chrome://browser/locale/preferences/preferences.properties"/>
67 <groupbox>
68 <caption label="&proxyTitle.label;"/>
70 <radiogroup id="networkProxyType" preference="network.proxy.type"
71 onsyncfrompreference="return gConnectionsDialog.readProxyType();">
72 <radio value="0" label="&noProxyTypeRadio.label;" accesskey="&noProxyTypeRadio.accesskey;"/>
73 <radio value="4" label="&WPADTypeRadio.label;" accesskey="&WPADTypeRadio.accesskey;"/>
74 <radio value="5" label="&systemTypeRadio.label;" accesskey="&systemTypeRadio.accesskey;" id="systemPref" hidden="true"/>
75 <radio value="1" label="&manualTypeRadio.label;" accesskey="&manualTypeRadio.accesskey;"/>
76 <grid class="indent" flex="1">
77 <columns>
78 <column/>
79 <column flex="1"/>
80 </columns>
81 <rows>
82 <row align="center">
83 <hbox pack="end">
84 <label value="&http.label;" accesskey="&http.accesskey;" control="networkProxyHTTP"/>
85 </hbox>
86 <hbox align="center">
87 <textbox id="networkProxyHTTP" flex="1"
88 preference="network.proxy.http" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyServer();"/>
89 <label value="&port.label;" accesskey="&HTTPport.accesskey;" control="networkProxyHTTP_Port"/>
90 <textbox id="networkProxyHTTP_Port" type="number" max="65535" size="5"
91 preference="network.proxy.http_port" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyPort();"/>
92 </hbox>
93 </row>
94 <row>
95 <hbox/>
96 <hbox>
97 <checkbox id="shareAllProxies" label="&shareproxy.label;" accesskey="&shareproxy.accesskey;"
98 preference="network.proxy.share_proxy_settings"
99 onsyncfrompreference="return gConnectionsDialog.updateProtocolPrefs();"/>
100 </hbox>
101 </row>
102 <row align="center">
103 <hbox pack="end">
104 <label value="&ssl.label;" accesskey="&ssl.accesskey;" control="networkProxySSL"/>
105 </hbox>
106 <hbox align="center">
107 <textbox id="networkProxySSL" flex="1" preference="network.proxy.ssl"
108 onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', false);"/>
109 <label value="&port.label;" accesskey="&SSLport.accesskey;" control="networkProxySSL_Port"/>
110 <textbox id="networkProxySSL_Port" type="number" max="65535" size="5" preference="network.proxy.ssl_port"
111 onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', true);"/>
112 </hbox>
113 </row>
114 <row align="center">
115 <hbox pack="end">
116 <label value="&ftp.label;" accesskey="&ftp.accesskey;" control="networkProxyFTP"/>
117 </hbox>
118 <hbox align="center">
119 <textbox id="networkProxyFTP" flex="1" preference="network.proxy.ftp"
120 onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', false);"/>
121 <label value="&port.label;" accesskey="&FTPport.accesskey;" control="networkProxyFTP_Port"/>
122 <textbox id="networkProxyFTP_Port" type="number" max="65535" size="5" preference="network.proxy.ftp_port"
123 onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', true);"/>
124 </hbox>
125 </row>
126 <row align="center">
127 <hbox pack="end">
128 <label value="&socks.label;" accesskey="&socks.accesskey;" control="networkProxySOCKS"/>
129 </hbox>
130 <hbox align="center">
131 <textbox id="networkProxySOCKS" flex="1" preference="network.proxy.socks"
132 onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', false);"/>
133 <label value="&port.label;" accesskey="&SOCKSport.accesskey;" control="networkProxySOCKS_Port"/>
134 <textbox id="networkProxySOCKS_Port" type="number" max="65535" size="5" preference="network.proxy.socks_port"
135 onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', true);"/>
136 </hbox>
137 </row>
138 <row>
139 <spacer/>
140 <box pack="start">
141 <radiogroup id="networkProxySOCKSVersion" orient="horizontal"
142 preference="network.proxy.socks_version">
143 <radio id="networkProxySOCKSVersion4" value="4" label="&socks4.label;" accesskey="&socks4.accesskey;" />
144 <radio id="networkProxySOCKSVersion5" value="5" label="&socks5.label;" accesskey="&socks5.accesskey;" />
145 </radiogroup>
146 <checkbox id="networkProxySOCKSRemoteDNS" preference="network.proxy.socks_remote_dns" label="&socksRemoteDNS.label;" accesskey="&socksRemoteDNS.accesskey;" />
147 </box>
148 </row>
149 <label value="&noproxy.label;" accesskey="&noproxy.accesskey;" control="networkProxyNone"/>
150 <textbox id="networkProxyNone" preference="network.proxy.no_proxies_on" multiline="true" rows="2"/>
151 <label value="&noproxyExplain.label;" control="networkProxyNone"/>
152 </rows>
153 </grid>
154 <radio value="2" label="&autoTypeRadio.label;" accesskey="&autoTypeRadio.accesskey;"/>
155 <hbox class="indent" flex="1" align="center">
156 <textbox id="networkProxyAutoconfigURL" flex="1" preference="network.proxy.autoconfig_url"
157 oninput="gConnectionsDialog.updateReloadButton();"/>
158 <button id="autoReload" icon="refresh"
159 label="&reload.label;" accesskey="&reload.accesskey;"
160 oncommand="gConnectionsDialog.reloadPAC();"
161 preference="pref.advanced.proxies.disable_button.reload"/>
162 </hbox>
163 </radiogroup>
164 </groupbox>
165 <separator class="thin"/>
166 <checkbox id="autologinProxy"
167 label="&autologinproxy.label;"
168 accesskey="&autologinproxy.accesskey;"
169 preference="signon.autologin.proxy"
170 tooltiptext="&autologinproxy.tooltip;"/>
171 <separator/>
172 </prefpane>
173 </prefwindow>