minibuffer-completion.js: Fix default get_value for prefix_completer and all_words_co...
[conkeror.git] / content / keyboard-setup.xul
blob64da1a16ad6449608e106945667f2bde382b504f
1 <?xml version="1.0"?>
2 <!--
3 (C) Copyright 2008 Jeremy Maitin-Shepard
5 Use, modification, and distribution are subject to the terms specified in the
6 COPYING file.
7 -->
9 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
11 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
12 onload="init();"
13 contenttitlesetting="false"
14 title="Conkeror Keyboard Setup"
15 id="keyboard-setup"
16 width="640" height="480"
17 persist="screenX screenY width height sizemode">
19 <script type="application/javascript;version=1.8" src="chrome://conkeror/content/keyboard-setup.js"/>
21 <vbox flex="1">
22 <description>
23 Limitations in the Mozilla key handling facilities make it
24 difficult to robustly map from key press events to a character
25 code. In particular, to do this, Conkeror depends on a
26 mapping table that specifies how the combination of a
27 particular keycode and shift modifier state maps to a
28 character code. A default table suitable for certain US
29 keyboard layouts is used by default in Conkeror, but this tool
30 can be used to generate a correct mapping table for your
31 keyboard layout. To do this, click on the "Clear all
32 mappings" button, then type every key both with and without
33 the shift modifier, and then click "Save to preferences".
34 Make sure that "Caps Lock" is off. You must restart Conkeror
35 for any new mapping table to take effect after you save it.
36 </description>
37 <hbox>
38 <button label="Load from preferences" oncommand="load();"/>
39 <button label="Save to preferences" oncommand="save();"/>
40 <button label="Clear preference" oncommand="clear_preference();"/>
41 <button label="Clear all mappings" oncommand="clear();"/>
42 <button label="Reset to defaults" oncommand="reset();"/>
43 </hbox>
45 <listbox id="mapping_list" flex="1">
46 <listhead>
47 <listheader label="Keycode"/>
48 <listheader label="Keycode name"/>
49 <listheader label="Shift?"/>
50 <listheader label="Charcode"/>
51 <listheader label="Character"/>
52 </listhead>
53 </listbox>
54 <hbox>
55 <label id="message" label="" flex="1"/>
56 <label id="count" label=""/>
57 </hbox>
58 </vbox>
59 </window>