Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / browser / components / preferences / preferences.xul
blob2528af36b24d9c48502b4d42297ea6f56c19a03a
1 <?xml version="1.0"?>
3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
4 # ***** BEGIN LICENSE BLOCK *****
5 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
7 # The contents of this file are subject to the Mozilla Public License Version
8 # 1.1 (the "License"); you may not use this file except in compliance with
9 # the License. You may obtain a copy of the License at
10 # http://www.mozilla.org/MPL/
12 # Software distributed under the License is distributed on an "AS IS" basis,
13 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 # for the specific language governing rights and limitations under the
15 # License.
17 # The Original Code is the Firefox Preferences System.
19 # The Initial Developer of the Original Code is
20 # Ben Goodger.
21 # Portions created by the Initial Developer are Copyright (C) 2005
22 # the Initial Developer. All Rights Reserved.
24 # Contributor(s):
25 # Ben Goodger <ben@mozilla.org>
26 # Jeff Walden <jwalden+bmo@mit.edu>
28 # Alternatively, the contents of this file may be used under the terms of
29 # either the GNU General Public License Version 2 or later (the "GPL"), or
30 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 # in which case the provisions of the GPL or the LGPL are applicable instead
32 # of those above. If you wish to allow use of your version of this file only
33 # under the terms of either the GPL or the LGPL, and not to allow others to
34 # use your version of this file under the terms of the MPL, indicate your
35 # decision by deleting the provisions above and replace them with the notice
36 # and other provisions required by the GPL or the LGPL. If you do not delete
37 # the provisions above, a recipient may use your version of this file under
38 # the terms of any one of the MPL, the GPL or the LGPL.
40 # ***** END LICENSE BLOCK *****
42 <?xml-stylesheet href="chrome://global/skin/global.css"?>
43 <?xml-stylesheet href="chrome://mozapps/content/preferences/preferences.css"?>
44 <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css"?>
46 <!-- XXX This should be in applications.xul, but bug 393953 means putting it
47 - there causes the Applications pane not to work the first time you open
48 - the Preferences dialog in a browsing session, so we work around the problem
49 - by putting it here instead.
50 -->
51 <?xml-stylesheet href="chrome://browser/content/preferences/handlers.css"?>
52 <?xml-stylesheet href="chrome://browser/skin/preferences/applications.css"?>
54 <!DOCTYPE prefwindow [
55 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
56 <!ENTITY % preferencesDTD SYSTEM "chrome://browser/locale/preferences/preferences.dtd">
57 %brandDTD;
58 %preferencesDTD;
61 #ifdef XP_WIN
62 #define USE_WIN_TITLE_STYLE
63 #endif
64 #ifdef XP_OS2
65 #define USE_WIN_TITLE_STYLE
66 #endif
68 #ifdef XP_MACOSX
69 <?xul-overlay href="chrome://browser/content/macBrowserOverlay.xul"?>
70 #endif
72 <prefwindow type="prefwindow"
73 id="BrowserPreferences"
74 windowtype="Browser:Preferences"
75 ondialoghelp="openPrefsHelp()"
76 #ifdef USE_WIN_TITLE_STYLE
77 title="&prefWindow.titleWin;"
78 #else
79 #ifdef XP_UNIX
80 #ifndef XP_MACOSX
81 title="&prefWindow.titleGNOME;"
82 #endif
83 #endif
84 #endif
85 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
86 #ifdef USE_WIN_TITLE_STYLE
87 style="&prefWin.styleWin2;">
88 #else
89 #ifdef XP_MACOSX
90 style="&prefWin.styleMac2;">
91 #else
92 style="&prefWin.styleGNOME2;">
93 #endif
94 #endif
96 <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
98 <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
99 <stringbundle id="bundlePreferences"
100 src="chrome://browser/locale/preferences/preferences.properties"/>
102 <prefpane id="paneMain" label="&paneMain.title;"
103 src="chrome://browser/content/preferences/main.xul"/>
104 <prefpane id="paneTabs" label="&paneTabs.title;"
105 src="chrome://browser/content/preferences/tabs.xul"/>
106 <prefpane id="paneContent" label="&paneContent.title;"
107 src="chrome://browser/content/preferences/content.xul"/>
108 <prefpane id="paneApplications" label="&paneApplications.title;"
109 src="chrome://browser/content/preferences/applications.xul"/>
110 <prefpane id="panePrivacy" label="&panePrivacy.title;"
111 src="chrome://browser/content/preferences/privacy.xul"/>
112 <prefpane id="paneSecurity" label="&paneSecurity.title;"
113 src="chrome://browser/content/preferences/security.xul"/>
114 <prefpane id="paneAdvanced" label="&paneAdvanced.title;"
115 src="chrome://browser/content/preferences/advanced.xul"/>
117 #ifdef XP_MACOSX
118 #include ../../base/content/browserMountPoints.inc
119 #endif
121 </prefwindow>