mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
In about:config, make accel+f focus the filter box instead of invoking the find bar; r=neil
This commit is contained in:
parent
6499cb8fdb
commit
afdcf5bda0
@ -369,6 +369,7 @@ function ShowPrefs()
|
||||
configTree.controllers.insertControllerAt(0, configController);
|
||||
|
||||
document.getElementById("configDeck").setAttribute("selectedIndex", 1);
|
||||
document.getElementById("configTreeKeyset").removeAttribute("disabled");
|
||||
if (!document.getElementById("showWarningNextTime").checked)
|
||||
gPrefBranch.setBoolPref("general.warnOnAboutConfig", false);
|
||||
|
||||
|
@ -76,9 +76,10 @@
|
||||
<menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
|
||||
</popup>
|
||||
|
||||
<keyset>
|
||||
<keyset id="configTreeKeyset" disabled="true">
|
||||
<key keycode="VK_ENTER" oncommand="ModifySelected();"/>
|
||||
<key keycode="VK_RETURN" oncommand="ModifySelected();"/>
|
||||
<key key="&focusFilter.key;" modifiers="accel" oncommand="document.getElementById('textbox').focus();"/>
|
||||
</keyset>
|
||||
<deck id="configDeck" flex="1">
|
||||
<vbox id="warningScreen" flex="1" align="center">
|
||||
|
@ -45,6 +45,7 @@
|
||||
|
||||
<!ENTITY filterPrefs.label "Filter:">
|
||||
<!ENTITY filterPrefs.accesskey "F">
|
||||
<!ENTITY focusFilter.key "f">
|
||||
|
||||
<!-- Columns -->
|
||||
<!ENTITY prefColumn.label "Preference Name">
|
||||
|
Loading…
Reference in New Issue
Block a user