mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
159 lines
8.1 KiB
XML
159 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- 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 window [
|
|
<!ENTITY % toolboxDTD SYSTEM "chrome://browser/locale/devtools/toolbox.dtd" >
|
|
%toolboxDTD;
|
|
]>
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
|
<?xml-stylesheet rel="stylesheet" href="chrome://browser/content/devtools/framework/options-panel.css" type="text/css"?>
|
|
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<script type="application/javascript;version=1.8"
|
|
src="chrome://browser/content/devtools/theme-switching.js"/>
|
|
<hbox id="options-panel-container" flex="1">
|
|
<hbox id="options-panel" class="theme-body" flex="1">
|
|
<vbox id="tools-box" class="options-vertical-pane" flex="1">
|
|
<label value="&options.selectDefaultTools.label;"/>
|
|
<vbox id="default-tools-box" class="options-groupbox" tabindex="0"/>
|
|
<label value="&options.selectAdditionalTools.label;"/>
|
|
<vbox id="additional-tools-box" class="options-groupbox"/>
|
|
<label value="&options.selectEnabledToolboxButtons.label;"/>
|
|
<vbox id="enabled-toolbox-buttons-box" class="options-groupbox"/>
|
|
<label id="tools-not-supported-label"
|
|
class="options-citation-label theme-comment"
|
|
value="&options.toolNotSupported.label;"/>
|
|
|
|
</vbox>
|
|
<vbox class="options-vertical-pane" flex="1">
|
|
<label value="&options.selectDevToolsTheme.label;"/>
|
|
<radiogroup id="devtools-theme-box"
|
|
class="options-groupbox"
|
|
data-pref="devtools.theme"
|
|
orient="horizontal">
|
|
<radio value="light" label="&options.lightTheme.label;"/>
|
|
<radio value="dark" label="&options.darkTheme.label;"/>
|
|
</radiogroup>
|
|
<label value="&options.commonPrefs.label;"/>
|
|
<vbox id="commonprefs-options" class="options-groupbox">
|
|
<checkbox label="&options.enablePersistentLogs.label;"
|
|
tooltiptext="&options.enablePersistentLogs.tooltip;"
|
|
data-pref="devtools.webconsole.persistlog"/>
|
|
</vbox>
|
|
<label value="&options.context.inspector;"/>
|
|
<vbox id="inspector-options" class="options-groupbox">
|
|
<checkbox label="&options.showUserAgentStyles.label;"
|
|
tooltiptext="&options.showUserAgentStyles.tooltip;"
|
|
data-pref="devtools.inspector.showUserAgentStyles"/>
|
|
<hbox align="center">
|
|
<label value="&options.defaultColorUnit.label;"
|
|
control="defaultColorUnitMenuList"
|
|
accesskey="&options.defaultColorUnit.accesskey;"/>
|
|
<menulist id="defaultColorUnitMenuList"
|
|
data-pref="devtools.defaultColorUnit">
|
|
<menupopup>
|
|
<menuitem label="&options.defaultColorUnit.hex;" value="hex"/>
|
|
<menuitem label="&options.defaultColorUnit.hsl;" value="hsl"/>
|
|
<menuitem label="&options.defaultColorUnit.rgb;" value="rgb"/>
|
|
<menuitem label="&options.defaultColorUnit.name;" value="name"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</hbox>
|
|
</vbox>
|
|
<label value="&options.webconsole.label;"/>
|
|
<vbox id="webconsole-options" class="options-groupbox">
|
|
<checkbox id="webconsole-timestamp-messages"
|
|
label="&options.timestampMessages.label;"
|
|
tooltiptext="&options.timestampMessages.tooltip;"
|
|
data-pref="devtools.webconsole.timestampMessages"/>
|
|
</vbox>
|
|
<label value="&options.styleeditor.label;"/>
|
|
<vbox id="styleeditor-options" class="options-groupbox">
|
|
<checkbox label="&options.stylesheetSourceMaps.label;"
|
|
tooltiptext="&options.stylesheetSourceMaps.tooltip;"
|
|
data-pref="devtools.styleeditor.source-maps-enabled"/>
|
|
<checkbox label="&options.stylesheetAutocompletion.label;"
|
|
tooltiptext="&options.stylesheetAutocompletion.tooltip;"
|
|
data-pref="devtools.styleeditor.autocompletion-enabled"/>
|
|
</vbox>
|
|
<label value="&options.profiler.label;"/>
|
|
<vbox id="profiler-options" class="options-groupbox">
|
|
<checkbox label="&options.showPlatformData.label;"
|
|
tooltiptext="&options.showPlatformData.tooltip;"
|
|
data-pref="devtools.profiler.ui.show-platform-data"/>
|
|
</vbox>
|
|
</vbox>
|
|
|
|
<vbox id="sourceeditor-box" class="options-vertical-pane" flex="1">
|
|
<label value="&options.sourceeditor.label;"/>
|
|
<vbox id="sourceeditor-options" class="options-groupbox">
|
|
<checkbox id="devtools-sourceeditor-detectindentation"
|
|
label="&options.sourceeditor.detectindentation.label;"
|
|
tooltiptext="&options.sourceeditor.detectindentation.tooltip;"
|
|
data-pref="devtools.editor.detectindentation"/>
|
|
<checkbox id="devtools-sourceeditor-autoclosebrackets"
|
|
label="&options.sourceeditor.autoclosebrackets.label;"
|
|
tooltiptext="&options.sourceeditor.autoclosebrackets.tooltip;"
|
|
data-pref="devtools.editor.autoclosebrackets"/>
|
|
<checkbox id="devtools-sourceeditor-expandtab"
|
|
label="&options.sourceeditor.expandtab.label;"
|
|
tooltiptext="&options.sourceeditor.expandtab.tooltip;"
|
|
data-pref="devtools.editor.expandtab"/>
|
|
<hbox align="center">
|
|
<label value="&options.sourceeditor.tabsize.label;"
|
|
control="devtools-sourceeditor-tabsize-menulist"
|
|
accesskey="&options.sourceeditor.tabsize.accesskey;"/>
|
|
<menulist id="devtools-sourceeditor-tabsize-menulist"
|
|
data-pref="devtools.editor.tabsize">
|
|
<menupopup>
|
|
<menuitem label="2" value="2"/>
|
|
<menuitem label="4" value="4"/>
|
|
<menuitem label="8" value="8"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</hbox>
|
|
<hbox align="center">
|
|
<label value="&options.sourceeditor.keybinding.label;"
|
|
control="devtools-sourceeditor-keybinding-menulist"
|
|
accesskey="&options.sourceeditor.keybinding.accesskey;"/>
|
|
<menulist id="devtools-sourceeditor-keybinding-menulist"
|
|
data-pref="devtools.editor.keymap">
|
|
<menupopup>
|
|
<menuitem value="default"
|
|
label="&options.sourceeditor.keybinding.default.label;"/>
|
|
<menuitem label="Vim" value="vim"/>
|
|
<menuitem label="Emacs" value="emacs"/>
|
|
<menuitem label="Sublime Text" value="sublime"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</hbox>
|
|
</vbox>
|
|
<label value="&options.context.advancedSettings;"/>
|
|
<vbox id="context-options" class="options-groupbox">
|
|
<checkbox id="devtools-disable-cache"
|
|
label="&options.disableCache.label2;"
|
|
tooltiptext="&options.disableCache.tooltip2;"
|
|
data-pref="devtools.cache.disabled"/>
|
|
<checkbox id="devtools-disable-javascript"
|
|
label="&options.disableJavaScript.label;"
|
|
tooltiptext="&options.disableJavaScript.tooltip;"/>
|
|
<hbox class="hidden-labels-box">
|
|
<checkbox label="&options.enableChrome.label4;"
|
|
tooltiptext="&options.enableChrome.tooltip2;"
|
|
data-pref="devtools.chrome.enabled"/>
|
|
</hbox>
|
|
<hbox class="hidden-labels-box">
|
|
<checkbox label="&options.enableRemote.label3;"
|
|
tooltiptext="&options.enableRemote.tooltip;"
|
|
data-pref="devtools.debugger.remote-enabled"/>
|
|
</hbox>
|
|
<label class="options-citation-label theme-comment"
|
|
value="&options.context.triggersPageRefresh;"/>
|
|
</vbox>
|
|
</vbox>
|
|
</hbox>
|
|
</hbox>
|
|
</window>
|