Bug 511375 - Add Ctrl-F4 keyboard shortcut to close tab; r=asuth ui-r=clarkbw
authorJim <squibblyflabbetydoo@gmail.com>
Fri, 14 Jan 2011 09:53:23 +0000
changeset 6951 fc10d866eed54374ddedd9cf4e55d45675189dba
parent 6950 5ee881bd297303ffe17200d897df416b0e02e948
child 6952 757586198da27c77ad38a006e2e51e2a477bb646
push id5328
push userbugzilla@standard8.plus.com
push dateFri, 14 Jan 2011 09:55:57 +0000
treeherdercomm-central@757586198da2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth, clarkbw
bugs511375
Bug 511375 - Add Ctrl-F4 keyboard shortcut to close tab; r=asuth ui-r=clarkbw
mail/base/content/mailWindowOverlay.xul
--- a/mail/base/content/mailWindowOverlay.xul
+++ b/mail/base/content/mailWindowOverlay.xul
@@ -346,16 +346,17 @@
 #endif
 
 <keyset id="mailKeys">
   <key id="space" key=" " modifiers="shift any" oncommand="SpaceHit(event);"/>
 
   <!-- File Menu -->
   <key id="key_close"/>
 #ifndef XP_MACOSX
+  <key id="key_close2" keycode="VK_F4" modifiers="accel" command="cmd_close"/>
   <key id="key_renameFolder" keycode="&renameFolder.key;" oncommand="goDoCommand('cmd_renameFolder')"/>
 #endif
 #ifdef XP_UNIX
   <key id="key_quit"/>
 #endif
   <!-- Edit Menu -->
   <key id="key_undo"/>
   <key id="key_redo"/>