From fde537da4e1cb14891be4143038dc0616e2dad29 Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Thu, 13 Jul 2000 05:18:17 +0000 Subject: [PATCH] Fix for #37302, among other things - bring lots of mail menus up to spec- patch contributed by timeless@bemail.org r=alecf, a=brendan git-svn-id: svn://10.0.0.236/trunk@74156 18797224-902f-48f8-a5cc-f745e15eee43 --- .../content/mail3PaneWindowVertLayout.xul | 46 +-- .../resources/content/mailWindowOverlay.js | 13 + .../resources/content/mailWindowOverlay.xul | 312 ++++++++---------- .../base/resources/content/messenger.xul | 50 +-- .../resources/locale/en-US/mailOverlay.dtd | 2 +- .../base/resources/locale/en-US/messenger.dtd | 132 +++++++- 6 files changed, 317 insertions(+), 238 deletions(-) diff --git a/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul b/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul index 802db1d4724..12a8388248f 100644 --- a/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul +++ b/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul @@ -83,28 +83,29 @@ Rights Reserved. @@ -156,6 +157,7 @@ Rights Reserved. @@ -208,77 +210,77 @@ Rights Reserved. diff --git a/mozilla/mailnews/base/resources/content/mailWindowOverlay.js b/mozilla/mailnews/base/resources/content/mailWindowOverlay.js index d6654d5bc9b..5062126d1ad 100644 --- a/mozilla/mailnews/base/resources/content/mailWindowOverlay.js +++ b/mozilla/mailnews/base/resources/content/mailWindowOverlay.js @@ -18,6 +18,19 @@ * Rights Reserved. */ +function view_init() +{ + var message_menuitem=document.getElementById('menu_showMessage'); + if (message_menuitem){ + message_menuitem.setAttribute('checked',!IsThreadAndMessagePaneSplitterCollapsed()); + } + var threadColumn = document.getElementById('ThreadColumnHeader'); + var thread_menuitem=document.getElementById('menu_showThreads'); + if (threadColumn && thread_menuitem){ + thread_menuitem.setAttribute('checked',threadColumn.getAttribute('currentView')=='threaded'); + } +} + function GetFirstSelectedMsgFolder() { var result = null; diff --git a/mozilla/mailnews/base/resources/content/mailWindowOverlay.xul b/mozilla/mailnews/base/resources/content/mailWindowOverlay.xul index 6ffe7934a61..fe445a10eee 100644 --- a/mozilla/mailnews/base/resources/content/mailWindowOverlay.xul +++ b/mozilla/mailnews/base/resources/content/mailWindowOverlay.xul @@ -129,7 +129,7 @@ Rights Reserved. ondestroy="contextMenu.onDestroy(); contextMenu = null;"> @@ -214,6 +215,7 @@ Rights Reserved. @@ -266,38 +268,38 @@ Rights Reserved. - + @@ -382,8 +384,8 @@ Rights Reserved. - - + + @@ -392,13 +394,21 @@ Rights Reserved. - - + + + + + + + - + @@ -406,182 +416,121 @@ Rights Reserved. - + - - + - + - - - - - - - - - + + + + + + + + + - - + + - + - - - - + + + + - + - + - - - + + + - + - - + + - - + + - - - + + + - - + + - - + - - + + - - - - + + + + - + - - + + - + @@ -590,7 +539,7 @@ END of Deprecated --> - + @@ -598,8 +547,10 @@ END of Deprecated --> - - + + + + @@ -620,15 +571,15 @@ END of Deprecated --> accesskey="&forwardMsgCmd.accesskey;" key="key_forward" oncommand="MsgForwardMessage(event);"/> - + - - + + - + - - - - + + - + - - - - - + + + + + - - + + - - + + @@ -818,9 +769,9 @@ END of Deprecated --> - + - +