Add keyboard shortcut to open Error Console (bug 404414). ui-r=beltzner, r=mano, a=schrep

This commit is contained in:
jruderman@hmc.edu 2007-12-12 19:22:08 -08:00
parent 4763c01136
commit c401ca956c
3 changed files with 3 additions and 1 deletions

View File

@ -417,7 +417,7 @@
<menuseparator id="devToolsSeparator"/>
<menuitem id="javascriptConsole"
label="&errorConsoleCmd.label;" accesskey="&errorConsoleCmd.accesskey;"
oncommand="toJavaScriptConsole();"/>
key="key_errorConsole" oncommand="toJavaScriptConsole();"/>
#ifdef XP_WIN
<menuitem accesskey="&pageInfoCmd.accesskey;" label="&pageInfoCmd.label;"
command="View:PageInfo"/>

View File

@ -202,6 +202,7 @@
#else
<key id="key_openDownloads" key="&downloads.commandkey;" command="Tools:Downloads" modifiers="accel"/>
#endif
<key id="key_errorConsole" key="&errorConsoleCmd.commandkey;" oncommand="toJavaScriptConsole();" modifiers="accel,shift"/>
<key id="openFileKb" key="&openFileCmd.commandkey;" command="Browser:OpenFile" modifiers="accel"/>
<key id="key_savePage" key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
<key id="printKb" key="&printCmd.commandkey;" command="cmd_print" modifiers="accel"/>

View File

@ -119,6 +119,7 @@
<!ENTITY errorConsoleCmd.label "Error Console">
<!ENTITY errorConsoleCmd.accesskey "C">
<!ENTITY errorConsoleCmd.commandkey "j">
<!ENTITY fileMenu.label "File">
<!ENTITY fileMenu.accesskey "F">