diff --git a/mozilla/mail/base/content/mailWindowOverlay.xul b/mozilla/mail/base/content/mailWindowOverlay.xul
index 2f866713d0f..faf59bee1ab 100644
--- a/mozilla/mail/base/content/mailWindowOverlay.xul
+++ b/mozilla/mail/base/content/mailWindowOverlay.xul
@@ -1060,7 +1060,7 @@
-
+
@@ -1089,7 +1089,7 @@
-
diff --git a/mozilla/mail/base/content/messageWindow.js b/mozilla/mail/base/content/messageWindow.js
index af414ba9e54..4e487954a4a 100644
--- a/mozilla/mail/base/content/messageWindow.js
+++ b/mozilla/mail/base/content/messageWindow.js
@@ -435,6 +435,10 @@ function HideMenus()
if (renameFolderMenu)
renameFolderMenu.setAttribute("hidden", "true");
+ var viewLayoutMenu = document.getElementById("menu_MessagePaneLayout");
+ if (viewLayoutMenu)
+ viewLayoutMenu.setAttribute("hidden", "true");
+
var viewMessagesMenu = document.getElementById('viewMessagesMenu');
if (viewMessagesMenu)
viewMessagesMenu.setAttribute("hidden", "true");
@@ -451,6 +455,10 @@ function HideMenus()
if (openMessageMenu)
openMessageMenu.setAttribute("hidden", "true");
+ var viewSortMenuSeparator = document.getElementById('viewSortMenuSeparator');
+ if (viewSortMenuSeparator)
+ viewSortMenuSeparator.setAttribute("hidden", "true");
+
var viewSortMenu = document.getElementById('viewSortMenu');
if (viewSortMenu)
viewSortMenu.setAttribute("hidden", "true");
@@ -459,6 +467,10 @@ function HideMenus()
if (emptryTrashMenu)
emptryTrashMenu.setAttribute("hidden", "true");
+ var menuPropertiesSeparator = document.getElementById("editPropertiesSeparator");
+ if (menuPropertiesSeparator)
+ menuPropertiesSeparator.setAttribute("hidden", "true");
+
var menuProperties = document.getElementById('menu_properties');
if (menuProperties)
menuProperties.setAttribute("hidden", "true");
@@ -471,7 +483,7 @@ function HideMenus()
if (trashSeparator)
trashSeparator.setAttribute("hidden", "true");
- var goStartPageSeparator = document.getElementById('goStartPageSeparator');
+ var goStartPageSeparator = document.getElementById('goNextSeparator');
if (goStartPageSeparator)
goStartPageSeparator.hidden = true;