1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/preferences/preferences.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,89 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- 1.7 +# This Source Code Form is subject to the terms of the Mozilla Public 1.8 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.9 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.10 + 1.11 +<?xml-stylesheet href="chrome://global/skin/global.css"?> 1.12 +<?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css"?> 1.13 +<?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?> 1.14 + 1.15 +<!-- XXX This should be in applications.xul, but bug 393953 means putting it 1.16 + - there causes the Applications pane not to work the first time you open 1.17 + - the Preferences dialog in a browsing session, so we work around the problem 1.18 + - by putting it here instead. 1.19 + --> 1.20 +<?xml-stylesheet href="chrome://browser/content/preferences/handlers.css"?> 1.21 +<?xml-stylesheet href="chrome://browser/skin/preferences/applications.css"?> 1.22 + 1.23 +<!DOCTYPE prefwindow [ 1.24 +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> 1.25 +<!ENTITY % preferencesDTD SYSTEM "chrome://browser/locale/preferences/preferences.dtd"> 1.26 +%brandDTD; 1.27 +%preferencesDTD; 1.28 +]> 1.29 + 1.30 +#ifdef XP_WIN 1.31 +#define USE_WIN_TITLE_STYLE 1.32 +#endif 1.33 + 1.34 +#ifdef XP_MACOSX 1.35 +<?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?> 1.36 +#endif 1.37 + 1.38 +<prefwindow type="prefwindow" 1.39 + id="BrowserPreferences" 1.40 + windowtype="Browser:Preferences" 1.41 + ondialoghelp="openPrefsHelp()" 1.42 +#ifdef USE_WIN_TITLE_STYLE 1.43 + title="&prefWindow.titleWin;" 1.44 +#else 1.45 +#ifdef XP_UNIX 1.46 +#ifndef XP_MACOSX 1.47 + title="&prefWindow.titleGNOME;" 1.48 +#endif 1.49 +#endif 1.50 +#endif 1.51 + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.52 +#ifdef USE_WIN_TITLE_STYLE 1.53 + style="&prefWinMinSize.styleWin2;"> 1.54 +#else 1.55 +#ifdef XP_MACOSX 1.56 + style="&prefWinMinSize.styleMac;"> 1.57 +#else 1.58 + style="&prefWinMinSize.styleGNOME;"> 1.59 +#endif 1.60 +#endif 1.61 + 1.62 + <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/> 1.63 + 1.64 + <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/> 1.65 + <stringbundle id="bundlePreferences" 1.66 + src="chrome://browser/locale/preferences/preferences.properties"/> 1.67 + 1.68 + <prefpane id="paneMain" label="&paneGeneral.title;" 1.69 + src="chrome://browser/content/preferences/main.xul"/> 1.70 + <prefpane id="paneTabs" label="&paneTabs.title;" 1.71 + src="chrome://browser/content/preferences/tabs.xul"/> 1.72 + <prefpane id="paneContent" label="&paneContent.title;" 1.73 + src="chrome://browser/content/preferences/content.xul"/> 1.74 + <prefpane id="paneApplications" label="&paneApplications.title;" 1.75 + src="chrome://browser/content/preferences/applications.xul"/> 1.76 + <prefpane id="panePrivacy" label="&panePrivacy.title;" 1.77 + src="chrome://browser/content/preferences/privacy.xul"/> 1.78 + <prefpane id="paneSecurity" label="&paneSecurity.title;" 1.79 + src="chrome://browser/content/preferences/security.xul"/> 1.80 +#ifdef MOZ_SERVICES_SYNC 1.81 + <prefpane id="paneSync" label="&paneSync.title;" 1.82 + src="chrome://browser/content/preferences/sync.xul"/> 1.83 +#endif 1.84 + <prefpane id="paneAdvanced" label="&paneAdvanced.title;" 1.85 + src="chrome://browser/content/preferences/advanced.xul"/> 1.86 + 1.87 +#ifdef XP_MACOSX 1.88 +#include ../../base/content/browserMountPoints.inc 1.89 +#endif 1.90 + 1.91 +</prefwindow> 1.92 +