Bug 577167 - file->close and ctrl-w no longer closes message-read window
authorJeff Beckley <beckley@qualcomm.com>
Thu, 08 Jul 2010 21:20:08 -0700
changeset 288 0489f345e3f92b8add389267dffbc0b4674178e9
parent 287 5370660564c1bdd131311fa77aecfb9c1879d236
child 289 d3c8cf0d3a268fd2b14d4f5cfa9fc511b8853b9f
push id273
push userbeckley@qualcomm.com
push dateFri, 09 Jul 2010 04:20:23 +0000
bugs577167
Bug 577167 - file->close and ctrl-w no longer closes message-read window
base/content/globalOverlay.xul
base/content/messengerOverlay.xul
--- a/base/content/globalOverlay.xul
+++ b/base/content/globalOverlay.xul
@@ -164,17 +164,16 @@ xmlns="http://www.mozilla.org/keymaster/
          command="cmd_penelopeDoSelectedTextUrl4" />
     <key id="key_penelopeSelectedTextUrl5" 
          command="cmd_penelopeDoSelectedTextUrl5" />
     <key id="key_penelopeSelectedTextUrl6" 
          command="cmd_penelopeDoSelectedTextUrl6" />
   </keyset>
   <commandset id="mailCommands">
     <commandset id="penelopeGlobalCommandset" />
-    <command id="cmd_close" oncommand="penelopeCmdClose();"/>
   </commandset>
   <commandset id="mainCommandSet">
     <commandset id="penelopeGlobalCommandset" />
   </commandset>
   <commandset id="editMenuCommands">
     <commandset id="penelopeGlobalCommandset" />
   </commandset>
   <commandset id="composeCommands">
--- a/base/content/messengerOverlay.xul
+++ b/base/content/messengerOverlay.xul
@@ -91,16 +91,20 @@ xmlns="http://www.mozilla.org/keymaster/
     <!-- because it is mapped to redo -->
     <key id="key_penelopeOpenInbox" command="cmd_penelopeOpenInbox" />
     <key id="key_penelopeOpenOutbox" command="cmd_penelopeOpenOutbox" />
     <key id="key_penelopeAddToAddrBook" command="cmd_penelopeAddToAddrBook" />
     <key id="key_penelopeDelete" command="cmd_delete" />
     <key id="key_penelopeDelete2" command="cmd_delete" />
   </keyset>
 
+  <commandset id="penelopeGlobalCommandset">
+    <command id="cmd_close" oncommand="penelopeCmdClose();"/>
+  </commandset>
+
   <!-- Folder pane changes -->
   <tree id="folderTree" onselect="penelopeFolderPaneSelectionChange();"/>
 
   <!-- Mailbox thread pane column changes -->
 
   <!-- Add hidden column for implementation of GroupSelect feature -->
   <tree id="threadTree">
     <treecols id="threadCols">