mail/components/preferences/preferences.xul
author Misak Khachatryan <misak.bugzilla@gmail.com>
Tue, 10 Dec 2013 11:18:27 +0400
changeset 16983 63baf8270c1cb8b380784b61c43905c688e051d6
parent 12697 9ad3986227d0e93c4657aca8c77824364f0e4f65
child 19561 2e69c2fe84ae9120e5df921c84a39f3ef350431c
permissions -rw-r--r--
Bug 948293 - Build bustage after bug 713082. r+a=Neil CLOSED TREE

<?xml version="1.0"?>

# -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<?xml-stylesheet href="chrome://global/skin/global.css"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css"?>
<?xml-stylesheet href="chrome://messenger/content/messenger.css"?>

<!-- XXX This should be in applications.xul, but bug 393953 means putting it
   - there causes the Applications pane not to work the first time you open
   - the Preferences dialog in a browsing session, so we work around the problem
   - by putting it here instead.
   -->
<?xml-stylesheet href="chrome://messenger/content/preferences/handlers.css"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/applications.css"?>

<!DOCTYPE prefwindow [
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
<!ENTITY % preferencesDTD SYSTEM "chrome://messenger/locale/preferences/preferences.dtd">
%brandDTD;
%preferencesDTD;
]>

#ifdef XP_WIN
#define USE_WIN_TITLE_STYLE
#endif
#ifdef XP_OS2
#define USE_WIN_TITLE_STYLE
#endif

<prefwindow type="prefwindow"
            id="MailPreferences"
            windowtype="Mail:Preferences"
#ifdef USE_WIN_TITLE_STYLE
            title="&prefWindow.titleWin;"
#else
#ifdef XP_UNIX
#ifndef XP_MACOSX
            title="&prefWindow.titleGNOME;"
#endif
#endif
#endif
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
#ifdef USE_WIN_TITLE_STYLE
            style="&prefWindow.styleWindows;">
#else
#ifdef XP_MACOSX
            style="&prefWindow.styleMac;">
#else
            style="&prefWindow.styleGNOME;">
#endif
#endif
  <stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
  <stringbundle id="bundlePreferences"
                src="chrome://messenger/locale/preferences/preferences.properties"/>

  <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  <script type="application/javascript" src="chrome://communicator/content/contentAreaClick.js"/>
  <script type="application/javascript" src="chrome://messenger/content/preferences/preferences.js"/>

  <prefpane id="paneGeneral" label="&paneGeneral.title;"
            src="chrome://messenger/content/preferences/general.xul"/>
  <prefpane id="paneDisplay" label="&paneDisplay.title;"
            src="chrome://messenger/content/preferences/display.xul"/>
  <prefpane id="paneCompose" label="&paneComposition.title;"
            src="chrome://messenger/content/preferences/compose.xul"/>
  <prefpane id="paneChat" label="&paneChat.title;"
            src="chrome://messenger/content/preferences/chat.xul"/>
  <prefpane id="paneSecurity" label="&paneSecurity.title;"
            src="chrome://messenger/content/preferences/security.xul"/>
  <prefpane id="paneApplications" label="&paneAttachments.title;"
            src="chrome://messenger/content/preferences/applications.xul"/>
  <prefpane id="paneAdvanced" label="&paneAdvanced.title;"
            src="chrome://messenger/content/preferences/advanced.xul"/>
</prefwindow>