browser/components/preferences/content.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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 <!ENTITY % contentDTD SYSTEM "chrome://browser/locale/preferences/content.dtd">
michael@0 11 %brandDTD;
michael@0 12 %contentDTD;
michael@0 13 ]>
michael@0 14
michael@0 15 <overlay id="ContentPaneOverlay"
michael@0 16 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 17
michael@0 18 <prefpane id="paneContent"
michael@0 19 onpaneload="gContentPane.init();"
michael@0 20 helpTopic="prefs-content">
michael@0 21
michael@0 22 <preferences id="contentPreferences">
michael@0 23 <!--XXX buttons prefs -->
michael@0 24
michael@0 25 <!-- POPUPS -->
michael@0 26 <preference id="dom.disable_open_during_load" name="dom.disable_open_during_load" type="bool"/>
michael@0 27
michael@0 28 <!-- FONTS -->
michael@0 29 <preference id="font.language.group"
michael@0 30 name="font.language.group"
michael@0 31 type="wstring"
michael@0 32 onchange="gContentPane._rebuildFonts();"/>
michael@0 33 </preferences>
michael@0 34
michael@0 35 <script type="application/javascript" src="chrome://mozapps/content/preferences/fontbuilder.js"/>
michael@0 36 <script type="application/javascript" src="chrome://browser/content/preferences/content.js"/>
michael@0 37
michael@0 38 <stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
michael@0 39
michael@0 40 <!-- various checkboxes, font-fu -->
michael@0 41 <groupbox id="miscGroup">
michael@0 42 <grid id="contentGrid">
michael@0 43 <columns>
michael@0 44 <column flex="1"/>
michael@0 45 <column/>
michael@0 46 </columns>
michael@0 47 <rows id="contentRows-1">
michael@0 48 <row id="popupPolicyRow">
michael@0 49 <vbox align="start">
michael@0 50 <checkbox id="popupPolicy" preference="dom.disable_open_during_load"
michael@0 51 label="&blockPopups.label;" accesskey="&blockPopups.accesskey;"
michael@0 52 onsyncfrompreference="return gContentPane.updateButtons('popupPolicyButton',
michael@0 53 'dom.disable_open_during_load');"/>
michael@0 54 </vbox>
michael@0 55 <button id="popupPolicyButton" label="&popupExceptions.label;"
michael@0 56 oncommand="gContentPane.showPopupExceptions();"
michael@0 57 accesskey="&popupExceptions.accesskey;"/>
michael@0 58 </row>
michael@0 59 </rows>
michael@0 60 </grid>
michael@0 61 </groupbox>
michael@0 62
michael@0 63 <!-- Fonts and Colors -->
michael@0 64 <groupbox id="fontsGroup">
michael@0 65 <caption label="&fontsAndColors.label;"/>
michael@0 66
michael@0 67 <grid id="fontsGrid">
michael@0 68 <columns>
michael@0 69 <column flex="1"/>
michael@0 70 <column/>
michael@0 71 </columns>
michael@0 72 <rows id="fontsRows">
michael@0 73 <row id="fontRow">
michael@0 74 <hbox align="center">
michael@0 75 <label control="defaultFont" accesskey="&defaultFont.accesskey;">&defaultFont.label;</label>
michael@0 76 <menulist id="defaultFont" flex="1"/>
michael@0 77 <label control="defaultFontSize" accesskey="&defaultSize.accesskey;">&defaultSize.label;</label>
michael@0 78 <menulist id="defaultFontSize">
michael@0 79 <menupopup>
michael@0 80 <menuitem value="9" label="9"/>
michael@0 81 <menuitem value="10" label="10"/>
michael@0 82 <menuitem value="11" label="11"/>
michael@0 83 <menuitem value="12" label="12"/>
michael@0 84 <menuitem value="13" label="13"/>
michael@0 85 <menuitem value="14" label="14"/>
michael@0 86 <menuitem value="15" label="15"/>
michael@0 87 <menuitem value="16" label="16"/>
michael@0 88 <menuitem value="17" label="17"/>
michael@0 89 <menuitem value="18" label="18"/>
michael@0 90 <menuitem value="20" label="20"/>
michael@0 91 <menuitem value="22" label="22"/>
michael@0 92 <menuitem value="24" label="24"/>
michael@0 93 <menuitem value="26" label="26"/>
michael@0 94 <menuitem value="28" label="28"/>
michael@0 95 <menuitem value="30" label="30"/>
michael@0 96 <menuitem value="32" label="32"/>
michael@0 97 <menuitem value="34" label="34"/>
michael@0 98 <menuitem value="36" label="36"/>
michael@0 99 <menuitem value="40" label="40"/>
michael@0 100 <menuitem value="44" label="44"/>
michael@0 101 <menuitem value="48" label="48"/>
michael@0 102 <menuitem value="56" label="56"/>
michael@0 103 <menuitem value="64" label="64"/>
michael@0 104 <menuitem value="72" label="72"/>
michael@0 105 </menupopup>
michael@0 106 </menulist>
michael@0 107 </hbox>
michael@0 108 <button id="advancedFonts" icon="select-font"
michael@0 109 label="&advancedFonts.label;"
michael@0 110 accesskey="&advancedFonts.accesskey;"
michael@0 111 oncommand="gContentPane.configureFonts();"/>
michael@0 112 </row>
michael@0 113 <row id="colorsRow">
michael@0 114 <hbox/>
michael@0 115 <button id="colors" icon="select-color"
michael@0 116 label="&colors.label;"
michael@0 117 accesskey="&colors.accesskey;"
michael@0 118 oncommand="gContentPane.configureColors();"/>
michael@0 119 </row>
michael@0 120 </rows>
michael@0 121 </grid>
michael@0 122 </groupbox>
michael@0 123
michael@0 124 <!-- Languages -->
michael@0 125 <groupbox id="languagesGroup">
michael@0 126 <caption label="&languages.label;"/>
michael@0 127
michael@0 128 <hbox id="languagesBox" align="center">
michael@0 129 <description flex="1" control="chooseLanguage">&chooseLanguage.label;</description>
michael@0 130 <button id="chooseLanguage"
michael@0 131 label="&chooseButton.label;"
michael@0 132 accesskey="&chooseButton.accesskey;"
michael@0 133 oncommand="gContentPane.showLanguages();"/>
michael@0 134 </hbox>
michael@0 135 </groupbox>
michael@0 136
michael@0 137 </prefpane>
michael@0 138
michael@0 139 </overlay>

mercurial