Bug 648867 - Can't open new message window r=mnyromyr sr=neil
authorIan Neal <iann_cvs@blueyonder.co.uk>
Mon, 12 Sep 2011 15:57:29 +0100
changeset 8475 efed0a9a84bd08a3f7c959cb57e82e8495481300
parent 8474 dc20bec100089d1ef238f560d34a30fbf396c57b
child 8476 57c67fc491d2e54c4ca790e4f6568be8db88633a
push id6509
push useriann_cvs@blueyonder.co.uk
push dateMon, 12 Sep 2011 14:57:47 +0000
treeherdercomm-central@034a8229391f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmnyromyr, neil
bugs648867
Bug 648867 - Can't open new message window r=mnyromyr sr=neil
suite/browser/navigator.js
suite/browser/navigator.xul
suite/browser/navigatorOverlay.xul
--- a/suite/browser/navigator.js
+++ b/suite/browser/navigator.js
@@ -1917,17 +1917,17 @@ function hiddenWindowStartup()
 {
   AddonManager.addAddonListener(gAddonListener);
   ReloadThemes();
 
   // focus the hidden window
   window.focus();
 
   // Disable menus which are not appropriate
-  var disabledItems = ['cmd_close', 'Browser:SendPage',
+  var disabledItems = ['cmd_close', 'cmd_sendPage', 'Browser:SendLink',
                        'Browser:EditPage', 'Browser:SavePage', 'cmd_printSetup',
                        'cmd_print', 'canGoBack', 'canGoForward',
                        'Browser:AddBookmark', 'Browser:AddBookmarkAs',
                        'cmd_undo', 'cmd_redo', 'cmd_cut', 'cmd_copy',
                        'cmd_paste', 'cmd_delete', 'cmd_selectAll',
                        'cmd_findTypeText', 'cmd_findTypeLinks', 'cmd_find',
                        'cmd_findNext', 'cmd_findPrev', 'menu_Toolbars',
                        'menuitem_reload', 'menu_UseStyleSheet', 'charsetMenu',
--- a/suite/browser/navigator.xul
+++ b/suite/browser/navigator.xul
@@ -38,17 +38,16 @@
 
  ***** END LICENSE BLOCK ***** -->
 
 
 <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?>
 <?xml-stylesheet href="chrome://communicator/content/places/places.css" type="text/css"?>
 
 <?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
-<?xul-overlay href="chrome://navigator/content/mailNavigatorOverlay.xul"?>
 <?xul-overlay href="chrome://navigator/content/linkToolbarOverlay.xul"?>
 <?xul-overlay href="chrome://communicator/content/contentAreaContextOverlay.xul"?>
 <?xul-overlay href="chrome://communicator/content/sidebar/sidebarOverlay.xul"?>
 <?xul-overlay href="chrome://communicator/content/bookmarks/placesOverlay.xul"?>
 
 
 <!DOCTYPE window [
 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
--- a/suite/browser/navigatorOverlay.xul
+++ b/suite/browser/navigatorOverlay.xul
@@ -41,16 +41,17 @@
    -
    - ***** END LICENSE BLOCK ***** -->
 
 <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
 <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
 <?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
 <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
 <?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
+<?xul-overlay href="chrome://navigator/content/mailNavigatorOverlay.xul"?>
 <?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
 
 <!DOCTYPE overlay [
 <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
 %navigatorDTD;
 <!ENTITY % navigatorOverlayDTD SYSTEM "chrome://navigator/locale/navigatorOverlay.dtd">
 %navigatorOverlayDTD;
 <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >