browser/components/preferences/preferences.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.

     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 <?xml-stylesheet href="chrome://global/skin/global.css"?>
     9 <?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css"?>
    10 <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
    12 <!-- XXX This should be in applications.xul, but bug 393953 means putting it
    13    - there causes the Applications pane not to work the first time you open
    14    - the Preferences dialog in a browsing session, so we work around the problem
    15    - by putting it here instead.
    16    -->
    17 <?xml-stylesheet href="chrome://browser/content/preferences/handlers.css"?>
    18 <?xml-stylesheet href="chrome://browser/skin/preferences/applications.css"?>
    20 <!DOCTYPE prefwindow [
    21 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    22 <!ENTITY % preferencesDTD SYSTEM "chrome://browser/locale/preferences/preferences.dtd">
    23 %brandDTD;
    24 %preferencesDTD;
    25 ]>
    27 #ifdef XP_WIN
    28 #define USE_WIN_TITLE_STYLE
    29 #endif
    31 #ifdef XP_MACOSX
    32 <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
    33 #endif
    35 <prefwindow type="prefwindow"
    36             id="BrowserPreferences"
    37             windowtype="Browser:Preferences"
    38             ondialoghelp="openPrefsHelp()"
    39 #ifdef USE_WIN_TITLE_STYLE
    40             title="&prefWindow.titleWin;"
    41 #else
    42 #ifdef XP_UNIX
    43 #ifndef XP_MACOSX
    44             title="&prefWindow.titleGNOME;"
    45 #endif
    46 #endif
    47 #endif
    48             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    49 #ifdef USE_WIN_TITLE_STYLE
    50             style="&prefWinMinSize.styleWin2;">
    51 #else
    52 #ifdef XP_MACOSX
    53             style="&prefWinMinSize.styleMac;">
    54 #else
    55             style="&prefWinMinSize.styleGNOME;">
    56 #endif
    57 #endif
    59     <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
    61     <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
    62     <stringbundle id="bundlePreferences"
    63                   src="chrome://browser/locale/preferences/preferences.properties"/>
    65     <prefpane id="paneMain" label="&paneGeneral.title;"
    66               src="chrome://browser/content/preferences/main.xul"/>
    67     <prefpane id="paneTabs" label="&paneTabs.title;"
    68               src="chrome://browser/content/preferences/tabs.xul"/>
    69     <prefpane id="paneContent" label="&paneContent.title;"
    70               src="chrome://browser/content/preferences/content.xul"/>
    71     <prefpane id="paneApplications" label="&paneApplications.title;"
    72               src="chrome://browser/content/preferences/applications.xul"/>
    73     <prefpane id="panePrivacy" label="&panePrivacy.title;"
    74               src="chrome://browser/content/preferences/privacy.xul"/>
    75     <prefpane id="paneSecurity" label="&paneSecurity.title;"
    76               src="chrome://browser/content/preferences/security.xul"/>
    77 #ifdef MOZ_SERVICES_SYNC
    78     <prefpane id="paneSync" label="&paneSync.title;"
    79               src="chrome://browser/content/preferences/sync.xul"/>
    80 #endif
    81     <prefpane id="paneAdvanced" label="&paneAdvanced.title;"
    82               src="chrome://browser/content/preferences/advanced.xul"/>
    84 #ifdef XP_MACOSX
    85 #include ../../base/content/browserMountPoints.inc
    86 #endif
    88 </prefwindow>

mercurial