RetroZilla/xpfe/communicator/resources/content/unix/platformBrowserBindings.xul
2015-10-20 23:03:22 -04:00

28 lines
1.0 KiB
XML

<?xml version="1.0"?>
<!-- unix version of platformBrowserBindings.xul -->
<!-- This file is ONLY here to show bindings in the menus. -->
<!-- The real bindings come from XBL, in platformHTMLBindings.xml -->
<!-- See bugs 57078 and 71779. -->
<keybinding id="platformBrowserBindings"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<keyset id="globalKeySet">
<key id="sparcCutKey" keycode="VK_F20"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_cut');
controller.doCommand('cmd_cut');"/>
<key id="sparcCopyKey" keycode="VK_F16"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_copy');
controller.doCommand('cmd_copy');"/>
<key id="sparcPasteKey" keycode="VK_F18"
oncommand="
var controller = document.commandDispatcher.getControllerForCommand('cmd_paste');
controller.doCommand('cmd_paste');"/>
</keyset>
</keybinding>