mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
207 lines
7.4 KiB
XML
207 lines
7.4 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">
|
|
|
|
function toggleField(aField, aCheckbox)
|
|
{
|
|
var field = document.getElementById(aField);
|
|
var check = document.getElementById(aCheckbox);
|
|
if (check.checked)
|
|
field.setAttribute("disabled", "true");
|
|
else
|
|
field.removeAttribute("disabled");
|
|
}
|
|
|
|
</html:script>
|
|
|
|
<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>
|
|
|
|
|
|
<!-- with no key -->
|
|
<html:table>
|
|
<html:tr>
|
|
<html:td>&none.label;</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="nonedefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withnokey.action" prefindex="0" id="mousewheel.withnokey.action0" val="checked" />
|
|
&numberoflines.label;
|
|
</html:label>
|
|
<html:input name="nonenumlines" type="text" size="4" pref="true" preftype="int" prefstring="mousewheel.withnokey.numlines" id="mousewheel.withnokey.numlines" />
|
|
<html:label>
|
|
<html:input name="nonesysnumlines" type="checkbox" pref="true" preftype="bool" prefstring="mousewheel.withnokey.sysnumlines" prefindex="false" id="mousewheel.withnokey.sysnumlines"
|
|
onclick="toggleField('mousewheel.withnokey.numlines', 'mousewheel.withnokey.sysnumlines');" />
|
|
&sysdefault.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="nonedefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withnokey.action" prefindex="1" id="mousewheel.withnokey.action1" />
|
|
&pageup.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="nonedefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withnokey.action" prefindex="2" id="mousewheel.withnokey.action2" />
|
|
&history.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
|
|
<!-- with control key -->
|
|
<html:table>
|
|
<html:tr>
|
|
<html:td>&control.label;</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="controldefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withcontrolkey.action" prefindex="0" id="mousewheel.withcontrolkey.action0" val="checked" />
|
|
&numberoflines.label;
|
|
</html:label>
|
|
<html:input name="controlnumlines" type="text" size="4" pref="true" preftype="int" prefstring="mousewheel.withcontrolkey.numlines" id="mousewheel.withcontrolkey.numlines" />
|
|
<html:label>
|
|
<html:input name="controlsysnumlines" type="checkbox" pref="true" preftype="bool" prefstring="mousewheel.withcontrolkey.sysnumlines" prefindex="0" id="mousewheel.withcontrolkey.sysnumlines"
|
|
onclick="toggleField('mousewheel.withcontrolkey.numlines', 'mousewheel.withcontrolkey.sysnumlines');" />
|
|
&sysdefault.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="controldefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withcontrolkey.action" prefindex="1" id="mousewheel.withcontrolkey.action1" />
|
|
&pageup.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="controldefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withcontrolkey.action" prefindex="2" id="mousewheel.withcontrolkey.action2" />
|
|
&history.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
|
|
<!-- with shift key -->
|
|
<html:table>
|
|
<html:tr>
|
|
<html:td>&shift.label;</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="shiftdefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withshiftkey.action" prefindex="0" id="mousewheel.withshiftkey.action0" val="checked" />
|
|
&numberoflines.label;
|
|
</html:label>
|
|
<html:input name="shiftnumlines" type="text" size="4" pref="true" preftype="int" prefstring="mousewheel.withshiftkey.numlines" id="mousewheel.withshiftkey.numlines" />
|
|
<html:label>
|
|
<html:input name="shiftsysnumlines" type="checkbox" pref="true" preftype="bool" prefstring="mousewheel.withshiftkey.sysnumlines" id="mousewheel.withshiftkey.sysnumlines"
|
|
onclick="toggleField('mousewheel.withshiftkey.numlines', 'mousewheel.withshiftkey.sysnumlines');" />
|
|
&sysdefault.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="shiftdefault" type="radio" pref="true" preftype="bool" prefstring="mousewheel.withshiftkey.action" prefindex="1" id="mousewheel.withshiftkey.action1" />
|
|
&pageup.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="shiftdefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withshiftkey.action" prefindex="2" id="mousewheel.withshiftkey.action2" />
|
|
&history.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
|
|
<!-- with alt key -->
|
|
|
|
<html:table>
|
|
<html:tr>
|
|
<html:td>&alt.label;</html:td></html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="altdefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withaltkey.action" prefindex="0" id="mousewheel.withaltkey.action0" val="checked" />
|
|
&numberoflines.label;
|
|
</html:label>
|
|
<html:input name="altnumlines" type="text" size="4" pref="true" preftype="int" prefstring="mousewheel.withaltkey.numlines" id="mousewheel.withaltkey.numlines" />
|
|
<html:label>
|
|
<html:input name="altsysnumlines" type="checkbox" pref="true" preftype="bool" prefstring="mousewheel.withaltkey.sysnumlines" id="mousewheel.withaltkey.sysnumlines"
|
|
onclick="toggleField('mousewheel.withaltkey.numlines', 'mousewheel.withaltkey.sysnumlines');" />
|
|
&sysdefault.label;
|
|
</html:label>
|
|
</html:td></html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="altdefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withaltkey.action" prefindex="1" id="mousewheel.withaltkey.action1" />
|
|
&pageup.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
<html:tr>
|
|
<html:td>
|
|
<html:label>
|
|
<html:input name="altdefault" type="radio" pref="true" preftype="int" prefstring="mousewheel.withaltkey.action" prefindex="2" id="mousewheel.withaltkey.action2" />
|
|
&history.label;
|
|
</html:label>
|
|
</html:td>
|
|
</html:tr>
|
|
</html:table>
|
|
|
|
|
|
</window>
|
|
|