mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 04:05:49 +00:00
235 lines
11 KiB
XML
235 lines
11 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
The contents of this file are subject to the Netscape Public
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
except in compliance with the License. You may obtain a copy of
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
implied. See the License for the specific language governing
|
|
rights and limitations under the License.
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
Communications Corporation. Portions created by Netscape are
|
|
Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
Rights Reserved.
|
|
|
|
Contributor(s):
|
|
bryner@uiuc.edu
|
|
sspitzer@netscape.com
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://pref/skin/" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://pref/locale/pref-mousewheel.dtd" >
|
|
<window xmlns:html="http://www.w3.org/TR/REC-html40"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
class="dialog"
|
|
onload="if (parent.handle) parent.handle.onpageload('pref-mousewheel'); else parent.queuedTag='pref-mousewheel';"
|
|
align="vertical" title="&title.label;"
|
|
debug="false">
|
|
|
|
<html:script language="JavaScript" src="chrome://pref/content/pref-mousewheel.js"/>
|
|
|
|
<box class="header" align="horizontal">
|
|
<titledbutton class="left-header-text" value="&info.label;"/>
|
|
<spring class="header-spring" flex="1"/>
|
|
<titledbutton class="right-header-text" value=""/>
|
|
</box>
|
|
|
|
<html:fieldset>
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:label>&mouseWheelPanel.label;</html:label>
|
|
<html:select id="mouseWheelMode" onchange="switchPage( this );" style="width: 80%">
|
|
<html:option value="0">&usingJustTheWheel.label;</html:option>
|
|
<html:option value="1">&usingWheelAndAlt.label;</html:option>
|
|
<html:option value="2">&usingWheelAndCtrl.label;</html:option>
|
|
<html:option value="3">&usingWheelAndShft.label;</html:option>
|
|
</html:select>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
|
|
<html:div class="separator" align="horizontal"/>
|
|
|
|
<deck id="modifierDeck">
|
|
|
|
<!-- no key modifiers -->
|
|
<box id="nokey" align="vertical">
|
|
<!-- scroll -->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioNoKey" id="mousewheelWithNoKeyAction0" pref="true" preftype="int" prefindex="0" prefstring="mousewheel.withnokey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithNoKeyAction0">&scroll.label;</html:label>
|
|
<spring flex="2%"/>
|
|
<box align="vertical">
|
|
<box align="horizontal">
|
|
<html:input type="text" id="mousewheelWithNoKeyNumlines" size="3" pref="true" preftype="int" prefstring="mousewheel.withnokey.numlines"/>
|
|
<html:label>&scrollLines.label;</html:label>
|
|
</box>
|
|
<box align="horizontal">
|
|
<html:div>
|
|
<html:input type="checkbox" id="mousewheelWithNoKeySysNumlines" pref="true" preftype="bool" prefstring="mousewheel.withnokey.sysnumlines"
|
|
onclick="doEnableElement( this, 'mousewheelWithNoKeyNumlines' );"/>
|
|
</html:div>
|
|
<html:label for="systemDefault">&useSystemDefault.label;</html:label>
|
|
</box>
|
|
</box>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- page up/page dn-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioNoKey" id="mousewheelWithNoKeyAction1" pref="true" preftype="int" prefindex="1" prefstring="mousewheel.withnokey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithNoKeyAction1">&scrollPgUpPgDn.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- history back/fwd-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioNoKey" id="mousewheelWithNoKeyAction2" pref="true" preftype="int" prefindex="2" prefstring="mousewheel.withnokey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithNoKeyAction2">&history.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
</box>
|
|
|
|
<!-- alt modifiers -->
|
|
<box id="alt" align="vertical">
|
|
<!-- scroll -->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioAltKey" id="mousewheelWithAltKeyAction0" pref="true" preftype="int" prefindex="0" prefstring="mousewheel.withaltkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithAltKeyAction0">&scroll.label;</html:label>
|
|
<spring flex="2%"/>
|
|
<box align="vertical">
|
|
<box align="horizontal">
|
|
<html:input type="text" id="mousewheelWithAltKeyNumlines" size="3" pref="true" preftype="int" prefstring="mousewheel.withaltkey.numlines"/>
|
|
<html:label>&scrollLines.label;</html:label>
|
|
</box>
|
|
<box align="horizontal">
|
|
<html:div>
|
|
<html:input type="checkbox" id="mousewheelWithAltKeySysNumlines" pref="true" preftype="bool" prefstring="mousewheel.withaltkey.sysnumlines"
|
|
onclick="doEnableElement( this, 'mousewheelWithAltKeyNumlines' );"/>
|
|
</html:div>
|
|
<html:label for="systemDefault">&useSystemDefault.label;</html:label>
|
|
</box>
|
|
</box>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- page up/page dn-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioAltKey" id="mousewheelWithAltKeyAction1" pref="true" preftype="int" prefindex="1" prefstring="mousewheel.withaltkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithAltKeyAction1">&scrollPgUpPgDn.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- history back/fwd-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioAltKey" id="mousewheelWithAltKeyAction2" pref="true" preftype="int" prefindex="2" prefstring="mousewheel.withaltkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithAltKeyAction2">&history.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
</box>
|
|
|
|
<!-- ctrl modifiers -->
|
|
<box id="ctrl" align="vertical">
|
|
<!-- scroll -->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioCtrlKey" id="mousewheelWithCtrlKeyAction0" pref="true" preftype="int" prefindex="0" prefstring="mousewheel.withcontrolkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithCtrlKeyAction0">&scroll.label;</html:label>
|
|
<spring flex="2%"/>
|
|
<box align="vertical">
|
|
<box align="horizontal">
|
|
<html:input type="text" id="mousewheelWithCtrlKeyNumlines" size="3" pref="true" preftype="int" prefstring="mousewheel.withcontrolkey.numlines"/>
|
|
<html:label>&scrollLines.label;</html:label>
|
|
</box>
|
|
<box align="horizontal">
|
|
<html:div>
|
|
<html:input type="checkbox" id="mousewheelWithCtrlKeySysNumlines" pref="true" preftype="bool" prefstring="mousewheel.withcontrolkey.sysnumlines"
|
|
onclick="doEnableElement( this, 'mousewheelWithCtrlKeyNumlines' );"/>
|
|
</html:div>
|
|
<html:label for="systemDefault">&useSystemDefault.label;</html:label>
|
|
</box>
|
|
</box>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- page up/page dn-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioCtrlKey" id="mousewheelWithCtrlKeyAction1" pref="true" preftype="int" prefindex="1" prefstring="mousewheel.withcontrolkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithCtrlKeyAction1">&scrollPgUpPgDn.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- history back/fwd-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioCtrlKey" id="mousewheelWithCtrlKeyAction2" pref="true" preftype="int" prefindex="2" prefstring="mousewheel.withcontrolkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithCtrlKeyAction2">&history.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
</box>
|
|
|
|
<!-- shift modifiers -->
|
|
<box id="shift" align="vertical">
|
|
<!-- scroll -->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioShiftKey" id="mousewheelWithShiftKeyAction0" pref="true" preftype="int" prefindex="0" prefstring="mousewheel.withshiftkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithShiftKeyAction0">&scroll.label;</html:label>
|
|
<spring flex="2%"/>
|
|
<box align="vertical">
|
|
<box align="horizontal">
|
|
<html:input type="text" id="mousewheelWithShiftKeyNumlines" size="3" pref="true" preftype="int" prefstring="mousewheel.withshiftkey.numlines"/>
|
|
<html:label>&scrollLines.label;</html:label>
|
|
</box>
|
|
<box align="horizontal">
|
|
<html:div>
|
|
<html:input type="checkbox" id="mousewheelWithShiftKeySysNumlines" pref="true" preftype="bool" prefstring="mousewheel.withshiftkey.sysnumlines"
|
|
onclick="doEnableElement( this, 'mousewheelWithShiftKeyNumlines' );"/>
|
|
</html:div>
|
|
<html:label for="systemDefault">&useSystemDefault.label;</html:label>
|
|
</box>
|
|
</box>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- page up/page dn-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioShiftKey" id="mousewheelWithShiftKeyAction1" pref="true" preftype="int" prefindex="1" prefstring="mousewheel.withshiftkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithShiftKeyAction1">&scrollPgUpPgDn.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
<!-- history back/fwd-->
|
|
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
|
|
<html:div>
|
|
<html:input type="radio" name="actionRadioShiftKey" id="mousewheelWithShiftKeyAction2" pref="true" preftype="int" prefindex="2" prefstring="mousewheel.withshiftkey.action"/>
|
|
</html:div>
|
|
<html:label for="mousewheelWithShiftKeyAction2">&history.label;</html:label>
|
|
<spring flex="100%"/>
|
|
</box>
|
|
</box>
|
|
|
|
</deck>
|
|
|
|
</html:fieldset>
|
|
|
|
|
|
</window>
|
|
|