Bug 1192540: In about:config, make accel+f focus the filter box again instead of invoking the find bar. r=mossop
authorSteffen Wilberg <steffen.wilberg@web.de>
Sat, 15 Aug 2015 12:06:41 +0200
changeset 257919 880bb943d65386d56dd84491f82af3f74b4ff8f4
parent 257918 462b94db33352190aea305dcd461f9c89cf295d2
child 257920 8e42d6f9b45c41221534cf6a13362b208d12ea4e
push id29237
push userryanvm@gmail.com
push dateMon, 17 Aug 2015 12:55:19 +0000
treeherdermozilla-central@0a7e118ca369 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmossop
bugs1192540
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1192540: In about:config, make accel+f focus the filter box again instead of invoking the find bar. r=mossop
toolkit/components/viewconfig/content/config.xul
toolkit/locales/en-US/chrome/global/config.dtd
--- a/toolkit/components/viewconfig/content/config.xul
+++ b/toolkit/components/viewconfig/content/config.xul
@@ -44,16 +44,17 @@
     </menupopup>
   </menu>
   <menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
 </menupopup>
 
 <keyset id="configTreeKeyset" disabled="true">
   <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
   <key key="&focusSearch.key;" modifiers="accel" oncommand="document.getElementById('textbox').focus();"/>
+  <key key="&focusSearch2.key;" modifiers="accel" oncommand="document.getElementById('textbox').focus();"/>
 </keyset>
 <deck id="configDeck" flex="1">
   <vbox id="warningScreen" flex="1" align="center" style="overflow: auto;">
     <spacer flex="1"/>
     <vbox id="warningBox" class="container">
       <hbox class="title" flex="1">
         <label id="warningTitle" class="title-text" flex="1">&aboutWarningTitle.label;</label>
       </hbox>
--- a/toolkit/locales/en-US/chrome/global/config.dtd
+++ b/toolkit/locales/en-US/chrome/global/config.dtd
@@ -9,16 +9,17 @@
 <!ENTITY aboutWarningTitle.label "This might void your warranty!">
 <!ENTITY aboutWarningText.label "Changing these advanced settings can be harmful to the stability, security, and performance of this application. You should only continue if you are sure of what you are doing.">
 <!ENTITY aboutWarningButton.label "I'll be careful, I promise!">
 <!ENTITY aboutWarningCheckbox.label "Show this warning next time">
 
 <!ENTITY searchPrefs.label "Search:">
 <!ENTITY searchPrefs.accesskey "r">
 <!ENTITY focusSearch.key "r">
+<!ENTITY focusSearch2.key "f">
 
 <!-- Columns -->
 <!ENTITY prefColumn.label "Preference Name">
 <!ENTITY lockColumn.label "Status">
 <!ENTITY typeColumn.label "Type">
 <!ENTITY valueColumn.label "Value">
 
 <!-- Tooltips -->