mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #638 - Part 3: Add a keyboard shortcut for toggling the tab mute state
This commit is contained in:
parent
d6e21c05d3
commit
208e5e8705
2 changed files with 4 additions and 0 deletions
|
|
@ -32,6 +32,7 @@
|
|||
<command id="cmd_printPreview" oncommand="PrintUtils.printPreview(PrintPreviewListener);"/>
|
||||
<command id="cmd_close" oncommand="BrowserCloseTabOrWindow()"/>
|
||||
<command id="cmd_closeWindow" oncommand="BrowserTryToCloseWindow()"/>
|
||||
<command id="cmd_toggleMute" oncommand="gBrowser.selectedTab.toggleMuteAudio()"/>
|
||||
<command id="cmd_ToggleTabsOnTop" oncommand="TabsOnTop.toggle()"/>
|
||||
<command id="cmd_CustomizeToolbars" oncommand="BrowserCustomizeToolbar()"/>
|
||||
<command id="cmd_restartApplication" oncommand="restart(false);"/>
|
||||
|
|
@ -212,6 +213,7 @@
|
|||
<key id="printKb" key="&printCmd.commandkey;" command="cmd_print" modifiers="accel"/>
|
||||
<key id="key_close" key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
|
||||
<key id="key_closeWindow" key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift"/>
|
||||
<key id="key_toggleMute" key="&toggleMuteCmd.key;" command="cmd_toggleMute" modifiers="control"/>
|
||||
<key id="key_undo"
|
||||
key="&undoCmd.key;"
|
||||
modifiers="accel"/>
|
||||
|
|
|
|||
|
|
@ -507,6 +507,8 @@ you can use these alternative items. Otherwise, their values should be empty. -
|
|||
<!ENTITY closeCmd.key "W">
|
||||
<!ENTITY closeCmd.accesskey "C">
|
||||
|
||||
<!ENTITY toggleMuteCmd.key "M">
|
||||
|
||||
<!ENTITY pageStyleMenu.label "Page Style">
|
||||
<!ENTITY pageStyleMenu.accesskey "y">
|
||||
<!ENTITY pageStyleNoStyle.label "No Style">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue