browser/components/preferences/advanced.xul

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

michael@0 1 <?xml version="1.0"?>
michael@0 2
michael@0 3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
michael@0 4 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 5 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 7
michael@0 8 <!DOCTYPE overlay [
michael@0 9 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
michael@0 10 %brandDTD;
michael@0 11 <!ENTITY % advancedDTD SYSTEM "chrome://browser/locale/preferences/advanced.dtd">
michael@0 12 %advancedDTD;
michael@0 13 <!ENTITY % privacyDTD SYSTEM "chrome://browser/locale/preferences/privacy.dtd">
michael@0 14 %privacyDTD;
michael@0 15 ]>
michael@0 16
michael@0 17 <overlay id="AdvancedPaneOverlay"
michael@0 18 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 19
michael@0 20 <prefpane id="paneAdvanced" onpaneload="gAdvancedPane.init();">
michael@0 21
michael@0 22 <preferences id="advancedPreferences">
michael@0 23 <preference id="browser.preferences.advanced.selectedTabIndex"
michael@0 24 name="browser.preferences.advanced.selectedTabIndex"
michael@0 25 type="int"/>
michael@0 26
michael@0 27 <!--XXX button prefs -->
michael@0 28
michael@0 29 <!-- General tab -->
michael@0 30 <preference id="accessibility.browsewithcaret" name="accessibility.browsewithcaret" type="bool"/>
michael@0 31 <preference id="accessibility.typeaheadfind" name="accessibility.typeaheadfind" type="bool"/>
michael@0 32 <preference id="accessibility.blockautorefresh" name="accessibility.blockautorefresh" type="bool"/>
michael@0 33
michael@0 34 <preference id="general.autoScroll" name="general.autoScroll" type="bool"/>
michael@0 35 <preference id="general.smoothScroll" name="general.smoothScroll" type="bool"/>
michael@0 36 <preference id="layers.acceleration.disabled" name="layers.acceleration.disabled" type="bool" inverted="true"
michael@0 37 onchange="gAdvancedPane.updateHardwareAcceleration()"/>
michael@0 38 #ifdef XP_WIN
michael@0 39 <preference id="gfx.direct2d.disabled" name="gfx.direct2d.disabled" type="bool" inverted="true"/>
michael@0 40 #endif
michael@0 41 <preference id="layout.spellcheckDefault" name="layout.spellcheckDefault" type="int"/>
michael@0 42
michael@0 43 #ifdef HAVE_SHELL_SERVICE
michael@0 44 <preference id="browser.shell.checkDefaultBrowser"
michael@0 45 name="browser.shell.checkDefaultBrowser"
michael@0 46 type="bool"/>
michael@0 47
michael@0 48 <preference id="pref.general.disable_button.default_browser"
michael@0 49 name="pref.general.disable_button.default_browser"
michael@0 50 type="bool"/>
michael@0 51 #endif
michael@0 52
michael@0 53 <!-- Data Choices tab -->
michael@0 54
michael@0 55 #ifdef MOZ_TELEMETRY_REPORTING
michael@0 56 <preference id="toolkit.telemetry.enabled"
michael@0 57 name="toolkit.telemetry.enabled"
michael@0 58 type="bool"/>
michael@0 59 #endif
michael@0 60
michael@0 61 <!-- Network tab -->
michael@0 62 <preference id="browser.cache.disk.capacity" name="browser.cache.disk.capacity" type="int"/>
michael@0 63 <preference id="browser.offline-apps.notify" name="browser.offline-apps.notify" type="bool"/>
michael@0 64
michael@0 65 <preference id="browser.cache.disk.smart_size.enabled"
michael@0 66 name="browser.cache.disk.smart_size.enabled"
michael@0 67 inverted="true"
michael@0 68 type="bool"/>
michael@0 69
michael@0 70 <!-- Update tab -->
michael@0 71 #ifdef MOZ_UPDATER
michael@0 72 <preference id="app.update.enabled" name="app.update.enabled" type="bool"/>
michael@0 73 <preference id="app.update.auto" name="app.update.auto" type="bool"/>
michael@0 74 #ifdef XP_WIN
michael@0 75 #ifdef MOZ_METRO
michael@0 76 <preference id="app.update.metro.enabled" name="app.update.metro.enabled" type="bool"/>
michael@0 77 #endif
michael@0 78 #endif
michael@0 79 <preference id="app.update.mode" name="app.update.mode" type="int"/>
michael@0 80
michael@0 81 <preference id="app.update.disable_button.showUpdateHistory"
michael@0 82 name="app.update.disable_button.showUpdateHistory"
michael@0 83 type="bool"/>
michael@0 84
michael@0 85 #ifdef MOZ_MAINTENANCE_SERVICE
michael@0 86 <preference id="app.update.service.enabled"
michael@0 87 name="app.update.service.enabled"
michael@0 88 type="bool"/>
michael@0 89 #endif
michael@0 90 #endif
michael@0 91
michael@0 92 <preference id="browser.search.update" name="browser.search.update" type="bool"/>
michael@0 93
michael@0 94 <!-- Encryption tab -->
michael@0 95 <preference id="security.default_personal_cert" name="security.default_personal_cert" type="string"/>
michael@0 96
michael@0 97 <preference id="security.disable_button.openCertManager"
michael@0 98 name="security.disable_button.openCertManager"
michael@0 99 type="bool"/>
michael@0 100 <preference id="security.disable_button.openDeviceManager"
michael@0 101 name="security.disable_button.openDeviceManager"
michael@0 102 type="bool"/>
michael@0 103 </preferences>
michael@0 104
michael@0 105 #ifdef HAVE_SHELL_SERVICE
michael@0 106 <stringbundle id="bundleShell" src="chrome://browser/locale/shellservice.properties"/>
michael@0 107 <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
michael@0 108 #endif
michael@0 109 <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
michael@0 110
michael@0 111 <script type="application/javascript" src="chrome://browser/content/preferences/advanced.js"/>
michael@0 112
michael@0 113 <tabbox id="advancedPrefs" flex="1"
michael@0 114 onselect="gAdvancedPane.tabSelectionChanged();">
michael@0 115
michael@0 116 <tabs id="tabsElement">
michael@0 117 <tab id="generalTab" label="&generalTab.label;" helpTopic="prefs-advanced-general"/>
michael@0 118 #ifdef MOZ_DATA_REPORTING
michael@0 119 <tab id="dataChoicesTab" label="&dataChoicesTab.label;" helpTopic="prefs-advanced-data-choices"/>
michael@0 120 #endif
michael@0 121 <tab id="networkTab" label="&networkTab.label;" helpTopic="prefs-advanced-network"/>
michael@0 122 <tab id="updateTab" label="&updateTab.label;" helpTopic="prefs-advanced-update"/>
michael@0 123 <tab id="encryptionTab" label="&certificateTab.label;" helpTopic="prefs-advanced-encryption"/>
michael@0 124 </tabs>
michael@0 125
michael@0 126 <tabpanels flex="1">
michael@0 127
michael@0 128 <!-- General -->
michael@0 129 <tabpanel id="generalPanel" orient="vertical">
michael@0 130
michael@0 131 <!-- Accessibility -->
michael@0 132 <groupbox id="accessibilityGroup" align="start">
michael@0 133 <caption label="&accessibility.label;"/>
michael@0 134
michael@0 135 <checkbox id="useCursorNavigation"
michael@0 136 label="&useCursorNavigation.label;"
michael@0 137 accesskey="&useCursorNavigation.accesskey;"
michael@0 138 preference="accessibility.browsewithcaret"/>
michael@0 139 <checkbox id="searchStartTyping"
michael@0 140 label="&searchStartTyping.label;"
michael@0 141 accesskey="&searchStartTyping.accesskey;"
michael@0 142 preference="accessibility.typeaheadfind"/>
michael@0 143 <checkbox id="blockAutoRefresh"
michael@0 144 label="&blockAutoRefresh.label;"
michael@0 145 accesskey="&blockAutoRefresh.accesskey;"
michael@0 146 preference="accessibility.blockautorefresh"/>
michael@0 147 </groupbox>
michael@0 148
michael@0 149 <!-- Browsing -->
michael@0 150 <groupbox id="browsingGroup" align="start">
michael@0 151 <caption label="&browsing.label;"/>
michael@0 152
michael@0 153 <checkbox id="useAutoScroll"
michael@0 154 label="&useAutoScroll.label;"
michael@0 155 accesskey="&useAutoScroll.accesskey;"
michael@0 156 preference="general.autoScroll"/>
michael@0 157 <checkbox id="useSmoothScrolling"
michael@0 158 label="&useSmoothScrolling.label;"
michael@0 159 accesskey="&useSmoothScrolling.accesskey;"
michael@0 160 preference="general.smoothScroll"/>
michael@0 161 <checkbox id="allowHWAccel"
michael@0 162 label="&allowHWAccel.label;"
michael@0 163 accesskey="&allowHWAccel.accesskey;"
michael@0 164 preference="layers.acceleration.disabled"/>
michael@0 165 <checkbox id="checkSpelling"
michael@0 166 label="&checkSpelling.label;"
michael@0 167 accesskey="&checkSpelling.accesskey;"
michael@0 168 onsyncfrompreference="return gAdvancedPane.readCheckSpelling();"
michael@0 169 onsynctopreference="return gAdvancedPane.writeCheckSpelling();"
michael@0 170 preference="layout.spellcheckDefault"/>
michael@0 171 </groupbox>
michael@0 172
michael@0 173 #ifdef HAVE_SHELL_SERVICE
michael@0 174 <!-- System Defaults -->
michael@0 175 <groupbox id="systemDefaultsGroup" orient="vertical">
michael@0 176 <caption label="&systemDefaults.label;"/>
michael@0 177
michael@0 178 <checkbox id="alwaysCheckDefault" preference="browser.shell.checkDefaultBrowser"
michael@0 179 label="&alwaysCheckDefault.label;" accesskey="&alwaysCheckDefault.accesskey;"
michael@0 180 flex="1"/>
michael@0 181 <hbox class="indent">
michael@0 182 <deck id="setDefaultPane">
michael@0 183 <button id="setDefaultButton"
michael@0 184 label="&setDefault.label;" accesskey="&setDefault.accesskey;"
michael@0 185 oncommand="gAdvancedPane.setDefaultBrowser();"
michael@0 186 preference="pref.general.disable_button.default_browser"/>
michael@0 187 <description>&isDefault.label;</description>
michael@0 188 </deck>
michael@0 189 </hbox>
michael@0 190 </groupbox>
michael@0 191 #endif
michael@0 192 </tabpanel>
michael@0 193
michael@0 194 #ifdef MOZ_DATA_REPORTING
michael@0 195 <!-- Data Choices -->
michael@0 196 <tabpanel id="dataChoicesPanel" orient="vertical">
michael@0 197 #ifdef MOZ_TELEMETRY_REPORTING
michael@0 198 <groupbox>
michael@0 199 <caption label="&telemetrySection.label;"/>
michael@0 200 <description>&telemetryDesc.label;</description>
michael@0 201 <hbox>
michael@0 202 <checkbox id="submitTelemetryBox"
michael@0 203 preference="toolkit.telemetry.enabled"
michael@0 204 label="&enableTelemetry.label;"
michael@0 205 accesskey="&enableTelemetry.accesskey;"/>
michael@0 206 <spacer flex="1"/>
michael@0 207 <label id="telemetryLearnMore"
michael@0 208 class="text-link"
michael@0 209 value="&telemetryLearnMore.label;"
michael@0 210 onclick="gAdvancedPane.openTextLink(event)"/>
michael@0 211 </hbox>
michael@0 212 </groupbox>
michael@0 213 #endif
michael@0 214 #ifdef MOZ_SERVICES_HEALTHREPORT
michael@0 215 <groupbox>
michael@0 216 <caption label="&healthReportSection.label;"/>
michael@0 217 <description>&healthReportDesc.label;</description>
michael@0 218 <hbox>
michael@0 219 <checkbox id="submitHealthReportBox"
michael@0 220 oncommand="gAdvancedPane.updateSubmitHealthReport();"
michael@0 221 label="&enableHealthReport.label;"
michael@0 222 accesskey="&enableHealthReport.accesskey;"/>
michael@0 223 <spacer flex="1"/>
michael@0 224 <label id="FHRLearnMore"
michael@0 225 class="text-link"
michael@0 226 value="&healthReportLearnMore.label;"
michael@0 227 onclick="gAdvancedPane.openTextLink(event)"/>
michael@0 228 </hbox>
michael@0 229 </groupbox>
michael@0 230 #endif
michael@0 231 #ifdef MOZ_CRASHREPORTER
michael@0 232 <groupbox>
michael@0 233 <caption label="&crashReporterSection.label;"/>
michael@0 234 <description>&crashReporterDesc.label;</description>
michael@0 235 <hbox>
michael@0 236 <checkbox id="submitCrashesBox"
michael@0 237 oncommand="gAdvancedPane.updateSubmitCrashes();"
michael@0 238 label="&enableCrashReporter.label;"
michael@0 239 accesskey="&enableCrashReporter.accesskey;"/>
michael@0 240
michael@0 241 <spacer flex="1"/>
michael@0 242 <label id="crashReporterLearnMore"
michael@0 243 class="text-link"
michael@0 244 value="&crashReporterLearnMore.label;"
michael@0 245 onclick="gAdvancedPane.openTextLink(event)"/>
michael@0 246 </hbox>
michael@0 247 </groupbox>
michael@0 248 #endif
michael@0 249 </tabpanel>
michael@0 250 #endif
michael@0 251 <!-- Network -->
michael@0 252 <tabpanel id="networkPanel" orient="vertical">
michael@0 253
michael@0 254 <!-- Connection -->
michael@0 255 <groupbox id="connectionGroup">
michael@0 256 <caption label="&connection.label;"/>
michael@0 257
michael@0 258 <hbox align="center">
michael@0 259 <description flex="1" control="connectionSettings">&connectionDesc.label;</description>
michael@0 260 <button id="connectionSettings" icon="network" label="&connectionSettings.label;"
michael@0 261 accesskey="&connectionSettings.accesskey;"
michael@0 262 oncommand="gAdvancedPane.showConnections();"/>
michael@0 263 </hbox>
michael@0 264 </groupbox>
michael@0 265
michael@0 266 <!-- Cache -->
michael@0 267 <groupbox id="cacheGroup">
michael@0 268 <caption label="&httpCache.label;"/>
michael@0 269
michael@0 270 <hbox align="center">
michael@0 271 <label id="actualDiskCacheSize" flex="1"/>
michael@0 272 <button id="clearCacheButton" icon="clear"
michael@0 273 label="&clearCacheNow.label;" accesskey="&clearCacheNow.accesskey;"
michael@0 274 oncommand="gAdvancedPane.clearCache();"/>
michael@0 275 </hbox>
michael@0 276 <checkbox preference="browser.cache.disk.smart_size.enabled"
michael@0 277 id="allowSmartSize" flex="1"
michael@0 278 onsyncfrompreference="return gAdvancedPane.readSmartSizeEnabled();"
michael@0 279 label="&overrideSmartCacheSize.label;"
michael@0 280 accesskey="&overrideSmartCacheSize.accesskey;"/>
michael@0 281 <hbox align="center" class="indent">
michael@0 282 <label id="useCacheBefore" control="cacheSize"
michael@0 283 accesskey="&limitCacheSizeBefore.accesskey;"
michael@0 284 value="&limitCacheSizeBefore.label;"/>
michael@0 285 <textbox id="cacheSize" type="number" size="4" max="1024"
michael@0 286 preference="browser.cache.disk.capacity"
michael@0 287 onsyncfrompreference="return gAdvancedPane.readCacheSize();"
michael@0 288 onsynctopreference="return gAdvancedPane.writeCacheSize();"
michael@0 289 aria-labelledby="useCacheBefore cacheSize useCacheAfter"/>
michael@0 290 <label id="useCacheAfter" flex="1">&limitCacheSizeAfter.label;</label>
michael@0 291 </hbox>
michael@0 292 </groupbox>
michael@0 293
michael@0 294 <!-- Offline apps -->
michael@0 295 <groupbox id="offlineGroup">
michael@0 296 <caption label="&offlineStorage2.label;"/>
michael@0 297
michael@0 298 <hbox align="center">
michael@0 299 <label id="actualAppCacheSize" flex="1"/>
michael@0 300 <button id="clearOfflineAppCacheButton" icon="clear"
michael@0 301 label="&clearOfflineAppCacheNow.label;" accesskey="&clearOfflineAppCacheNow.accesskey;"
michael@0 302 oncommand="gAdvancedPane.clearOfflineAppCache();"/>
michael@0 303 </hbox>
michael@0 304 <hbox align="center">
michael@0 305 <checkbox id="offlineNotify" flex="1"
michael@0 306 label="&offlineNotify.label;" accesskey="&offlineNotify.accesskey;"
michael@0 307 preference="browser.offline-apps.notify"
michael@0 308 onsyncfrompreference="return gAdvancedPane.readOfflineNotify();"/>
michael@0 309 <button id="offlineNotifyExceptions"
michael@0 310 label="&offlineNotifyExceptions.label;"
michael@0 311 accesskey="&offlineNotifyExceptions.accesskey;"
michael@0 312 oncommand="gAdvancedPane.showOfflineExceptions();"/>
michael@0 313 </hbox>
michael@0 314 <hbox>
michael@0 315 <vbox flex="1">
michael@0 316 <label id="offlineAppsListLabel">&offlineAppsList2.label;</label>
michael@0 317 <listbox id="offlineAppsList"
michael@0 318 style="height: &offlineAppsList.height;;"
michael@0 319 flex="1"
michael@0 320 aria-labelledby="offlineAppsListLabel"
michael@0 321 onselect="gAdvancedPane.offlineAppSelected(event);">
michael@0 322 </listbox>
michael@0 323 </vbox>
michael@0 324 <vbox pack="end">
michael@0 325 <button id="offlineAppsListRemove"
michael@0 326 disabled="true"
michael@0 327 label="&offlineAppsListRemove.label;"
michael@0 328 accesskey="&offlineAppsListRemove.accesskey;"
michael@0 329 oncommand="gAdvancedPane.removeOfflineApp();"/>
michael@0 330 </vbox>
michael@0 331 </hbox>
michael@0 332 </groupbox>
michael@0 333 </tabpanel>
michael@0 334
michael@0 335 <!-- Update -->
michael@0 336 <tabpanel id="updatePanel" orient="vertical">
michael@0 337 #ifdef MOZ_UPDATER
michael@0 338 <groupbox id="updateApp">
michael@0 339 <caption label="&updateApp.label;"/>
michael@0 340 <radiogroup id="updateRadioGroup"
michael@0 341 oncommand="gAdvancedPane.updateWritePrefs();">
michael@0 342 #ifdef XP_WIN
michael@0 343 #ifdef MOZ_METRO
michael@0 344 <radio id="autoMetro"
michael@0 345 value="autoMetro"
michael@0 346 label="&updateAutoMetro.label;"
michael@0 347 accesskey="&updateAutoMetro.accesskey;"/>
michael@0 348 <hbox id="autoMetroIndent"
michael@0 349 class="indent">
michael@0 350 <label value="&updateAutoMetroWarn.label;"/>
michael@0 351 </hbox>
michael@0 352 #endif
michael@0 353 #endif
michael@0 354 <radio id="autoDesktop"
michael@0 355 value="auto"
michael@0 356 label="&updateAuto1.label;"
michael@0 357 accesskey="&updateAuto1.accesskey;"/>
michael@0 358 <hbox class="indent">
michael@0 359 <checkbox id="warnIncompatible"
michael@0 360 label="&updateAutoAddonWarn.label;"
michael@0 361 accesskey="&updateAutoAddonWarn.accesskey;"
michael@0 362 preference="app.update.mode"
michael@0 363 onsyncfrompreference="return gAdvancedPane.readAddonWarn();"
michael@0 364 onsynctopreference="return gAdvancedPane.writeAddonWarn();"/>
michael@0 365 </hbox>
michael@0 366 <radio value="checkOnly"
michael@0 367 label="&updateCheck.label;"
michael@0 368 accesskey="&updateCheck.accesskey;"/>
michael@0 369 <radio value="manual"
michael@0 370 label="&updateManual.label;"
michael@0 371 accesskey="&updateManual.accesskey;"/>
michael@0 372 </radiogroup>
michael@0 373
michael@0 374 <hbox>
michael@0 375 <button id="showUpdateHistory"
michael@0 376 label="&updateHistory.label;"
michael@0 377 accesskey="&updateHistory.accesskey;"
michael@0 378 preference="app.update.disable_button.showUpdateHistory"
michael@0 379 oncommand="gAdvancedPane.showUpdates();"/>
michael@0 380 </hbox>
michael@0 381
michael@0 382 #ifdef MOZ_MAINTENANCE_SERVICE
michael@0 383 <checkbox id="useService"
michael@0 384 label="&useService.label;"
michael@0 385 accesskey="&useService.accesskey;"
michael@0 386 preference="app.update.service.enabled"/>
michael@0 387 #endif
michael@0 388 </groupbox>
michael@0 389 #endif
michael@0 390 <groupbox id="updateOthers">
michael@0 391 <caption label="&updateOthers.label;"/>
michael@0 392 <checkbox id="enableSearchUpdate"
michael@0 393 label="&enableSearchUpdate.label;"
michael@0 394 accesskey="&enableSearchUpdate.accesskey;"
michael@0 395 preference="browser.search.update"/>
michael@0 396 </groupbox>
michael@0 397 </tabpanel>
michael@0 398
michael@0 399 <!-- Certificates -->
michael@0 400 <tabpanel id="encryptionPanel" orient="vertical">
michael@0 401
michael@0 402 <description id="CertSelectionDesc" control="certSelection">&certSelection.description;</description>
michael@0 403
michael@0 404 <!--
michael@0 405 The values on these radio buttons may look like l12y issues, but
michael@0 406 they're not - this preference uses *those strings* as its values.
michael@0 407 I KID YOU NOT.
michael@0 408 -->
michael@0 409 <radiogroup id="certSelection" orient="horizontal" preftype="string"
michael@0 410 preference="security.default_personal_cert"
michael@0 411 aria-labelledby="CertSelectionDesc">
michael@0 412 <radio label="&certs.auto;" accesskey="&certs.auto.accesskey;"
michael@0 413 value="Select Automatically"/>
michael@0 414 <radio label="&certs.ask;" accesskey="&certs.ask.accesskey;"
michael@0 415 value="Ask Every Time"/>
michael@0 416 </radiogroup>
michael@0 417
michael@0 418 <separator/>
michael@0 419
michael@0 420 <hbox>
michael@0 421 <button id="viewCertificatesButton"
michael@0 422 label="&viewCerts.label;" accesskey="&viewCerts.accesskey;"
michael@0 423 oncommand="gAdvancedPane.showCertificates();"
michael@0 424 preference="security.disable_button.openCertManager"/>
michael@0 425 <button id="verificationButton"
michael@0 426 label="&verify2.label;" accesskey="&verify2.accesskey;"
michael@0 427 oncommand="gAdvancedPane.showOCSP();"/>
michael@0 428 <button id="viewSecurityDevicesButton"
michael@0 429 label="&viewSecurityDevices.label;" accesskey="&viewSecurityDevices.accesskey;"
michael@0 430 oncommand="gAdvancedPane.showSecurityDevices();"
michael@0 431 preference="security.disable_button.openDeviceManager"/>
michael@0 432 </hbox>
michael@0 433 </tabpanel>
michael@0 434
michael@0 435 </tabpanels>
michael@0 436 </tabbox>
michael@0 437 </prefpane>
michael@0 438
michael@0 439 </overlay>

mercurial