diff options
Diffstat (limited to 'comm/suite/components/pref/content/pref-content.xul')
-rw-r--r-- | comm/suite/components/pref/content/pref-content.xul | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/comm/suite/components/pref/content/pref-content.xul b/comm/suite/components/pref/content/pref-content.xul new file mode 100644 index 0000000000..513027c03c --- /dev/null +++ b/comm/suite/components/pref/content/pref-content.xul @@ -0,0 +1,131 @@ +<?xml version="1.0"?> + +<!-- 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/. --> + +<!DOCTYPE overlay [ + <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD; + <!ENTITY % prefContentDTD SYSTEM "chrome://communicator/locale/pref/pref-content.dtd"> %prefContentDTD; +]> + +<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <prefpane id="content_pane" + label="&pref.content.title;" + script="chrome://communicator/content/pref/pref-content.js"> + + <preferences id="content_preferences"> + <preference id="general.autoScroll" + name="general.autoScroll" + type="bool"/> + <preference id="general.smoothScroll" + name="general.smoothScroll" + type="bool"/> + <preference id="zoom.minPercent" + name="zoom.minPercent" + type="int"/> + <preference id="zoom.maxPercent" + name="zoom.maxPercent" + type="int"/> + <preference id="browser.zoom.full" + name="browser.zoom.full" + type="bool" inverted="true"/> + <preference id="browser.zoom.siteSpecific" + name="browser.zoom.siteSpecific" + type="bool"/> + <preference id="browser.zoom.showZoomStatusPanel" + name="browser.zoom.showZoomStatusPanel" + type="bool"/> + <preference id="browser.enable_automatic_image_resizing" + name="browser.enable_automatic_image_resizing" + type="bool"/> + <preference id="gfx.direct2d.disabled" + name="gfx.direct2d.disabled" + type="bool" inverted="true"/> + <preference id="layers.acceleration.disabled" + name="layers.acceleration.disabled" + type="bool" inverted="true" + onchange="updateHardwareAcceleration(this.value);"/> + </preferences> + + <description>&pref.content.description;</description> + + <groupbox id="scrollingGroup" align="start"> + <caption label="&scrolling.label;"/> + + <checkbox id="useAutoScroll" + label="&useAutoScroll.label;" + accesskey="&useAutoScroll.accesskey;" + preference="general.autoScroll"/> + <checkbox id="useSmoothScroll" + label="&useSmoothScroll.label;" + accesskey="&useSmoothScroll.accesskey;" + preference="general.smoothScroll"/> + </groupbox> + + <groupbox id="zoomPreferences" align="start"> + <caption label="&zoomPrefs.label;"/> + + <hbox align="center"> + <label value="&minZoom.label;" + accesskey="&minZoom.accesskey;" + control="minZoom"/> + <textbox id="minZoom" + type="number" + size="3" + increment="10" + preference="zoom.minPercent" + oninput="DisableMinCheck(this);" + onchange="AdjustMaxZoom();"/> + <label value="&maxZoom.label;" + accesskey="&maxZoom.accesskey;" + control="maxZoom"/> + <textbox id="maxZoom" + type="number" + size="3" + increment="10" + preference="zoom.maxPercent" + oninput="DisableMinCheck(this);" + onchange="AdjustMinZoom();"/> + <label value="&percent.label;"/> + </hbox> + + <checkbox id="textZoomOnly" + label="&textZoomOnly.label;" + accesskey="&textZoomOnly.accesskey;" + preference="browser.zoom.full"/> + <checkbox id="zoomSiteSpecific" + label="&siteSpecific.label;" + accesskey="&siteSpecific.accesskey;" + preference="browser.zoom.siteSpecific"/> + <checkbox id="showZoomStatusPanel" + label="&showZoomStatusPanel.label;" + accesskey="&showZoomStatusPanel.accesskey;" + preference="browser.zoom.showZoomStatusPanel"/> + <checkbox id="enableAutomaticImageResizing" + label="&enableAutomaticImageResizing.label;" + accesskey="&enableAutomaticImageResizing.accesskey;" + preference="browser.enable_automatic_image_resizing"/> + + <hbox align="center"> + <label value="&defaultZoom.label;" + accesskey="&defaultZoom.accesskey;" + control="defaultZoom"/> + <textbox id="defaultZoom" + type="number" + size="3" + increment="10" + onchange="SetDefaultZoom();"/> + <label value="&percent.label;"/> + </hbox> + </groupbox> + + <vbox class="box-padded" align="start"> + <checkbox id="allowHWAccel" + label="&allowHWAccel.label;" + accesskey="&allowHWAccel.accesskey;" + preference="layers.acceleration.disabled"/> + </vbox> + + </prefpane> +</overlay> |