mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Adding pref UI (debug pane) to control modifier and menu access keys (49909). r=matt, sr=alecf, a=asa
This commit is contained in:
parent
ed7ab86b1f
commit
381b61c5fc
@ -36,7 +36,7 @@
|
||||
var _elementIDs = ["nglayoutDebugWindow",
|
||||
"debugXULBoxes", "nglayoutDebugUseXBLForms",
|
||||
"nglayoutDebugEnableXPCOMRefcntLog", "showAboutAsStupidModalWindow",
|
||||
"browserEnableTBDnD"];
|
||||
"browserEnableTBDnD", "acceleratorKeyValue", "menuAccessKeyValue"];
|
||||
]]>
|
||||
</script>
|
||||
|
||||
@ -71,5 +71,31 @@
|
||||
</titledbox>
|
||||
|
||||
|
||||
<titledbox orient="vertical">
|
||||
<label value="&accelerators.label;"/>
|
||||
<label value="&acceleratorsBlurb.label;"/>
|
||||
|
||||
<grid flex="1">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
|
||||
<rows>
|
||||
<row autostretch="never">
|
||||
<text class="label" value="&acceleratorKey.label;" for="acceleratorKeyValue"/>
|
||||
<textbox id="acceleratorKeyValue" pref="true" preftype="int"
|
||||
prefstring="ui.key.accelKey" prefattribute="value" size="5"/>
|
||||
</row>
|
||||
<row autostretch="never">
|
||||
<text class="label" value="&menuAccessKey.label;" for="menuAccessKeyValue"/>
|
||||
<textbox id="menuAccessKeyValue" pref="true" preftype="int"
|
||||
prefstring="ui.key.menuAccessKey" prefattribute="value" size="5"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
</titledbox>
|
||||
|
||||
</window>
|
||||
|
||||
|
@ -17,4 +17,8 @@
|
||||
<!ENTITY debugWindow.label "debug window">
|
||||
<!ENTITY debugXULBox.label "debug XUL boxes">
|
||||
|
||||
|
||||
<!-- Accelerator Key -->
|
||||
<!ENTITY accelerators.label "Keyboard accelerators">
|
||||
<!ENTITY acceleratorsBlurb.label "A value of zero disables a modifier key.">
|
||||
<!ENTITY acceleratorKey.label "Accelerator key:">
|
||||
<!ENTITY menuAccessKey.label "Menu access key:">
|
||||
|
Loading…
Reference in New Issue
Block a user