From 340d69897e1748a1aa99bb26a330ea46ce0af356 Mon Sep 17 00:00:00 2001 From: "hangas%netscape.com" Date: Tue, 20 Jul 1999 04:47:41 +0000 Subject: [PATCH] Added globalOverlay.xul and tasksOverlay.xul to the messenger 3 pane window and the mail compose window git-svn-id: svn://10.0.0.236/trunk@40236 18797224-902f-48f8-a5cc-f745e15eee43 --- .../base/resources/content/messenger.xul | 112 +++--------------- .../base/resources/content/shareglue.js | 52 -------- .../resources/content/MsgComposeCommands.js | 8 -- .../resources/content/messengercompose.xul | 10 +- 4 files changed, 22 insertions(+), 160 deletions(-) diff --git a/mozilla/mailnews/base/resources/content/messenger.xul b/mozilla/mailnews/base/resources/content/messenger.xul index 12d9bba4f03..f1d2ac84e6d 100644 --- a/mozilla/mailnews/base/resources/content/messenger.xul +++ b/mozilla/mailnews/base/resources/content/messenger.xul @@ -2,6 +2,8 @@ + + @@ -222,44 +223,6 @@ Rights Reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -281,12 +244,12 @@ Rights Reserved. + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + title="&messengerWindow.title;" + onload="OnLoadMessenger()" + onunload="OnUnloadMessenger()" + id="messengerWindow" + style="width:100%;height:100%" align="vertical" width="640" height="480"> @@ -294,7 +257,7 @@ Rights Reserved. - + @@ -329,7 +292,6 @@ Rights Reserved. - @@ -534,56 +496,13 @@ Rights Reserved. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + @@ -614,5 +533,6 @@ Rights Reserved. + diff --git a/mozilla/mailnews/base/resources/content/shareglue.js b/mozilla/mailnews/base/resources/content/shareglue.js index f38aa67a322..687eb4b668e 100644 --- a/mozilla/mailnews/base/resources/content/shareglue.js +++ b/mozilla/mailnews/base/resources/content/shareglue.js @@ -65,12 +65,6 @@ function CloseMessenger() messenger.Close(); } -function Exit() -{ - dump("\nExit from XUL\n"); - messenger.Exit(); -} - function CharacterSet(){} function MessengerSetDefaultCharacterSet(aCharset) @@ -83,49 +77,3 @@ function MessengerSetDefaultCharacterSet(aCharset) MsgReload(); } -function NavigatorWindow() -{ - var toolkitCore = XPAppCoresManager.Find("ToolkitCore"); - if (!toolkitCore) - { - toolkitCore = new ToolkitCore(); - if (toolkitCore) - { - toolkitCore.Init("ToolkitCore"); - } - } - - if (toolkitCore) - { - toolkitCore.ShowWindow("chrome://navigator/content/", - window); - } - - -} -function MessengerWindow() {} -function ComposerWindow() {} -function AIMService() {} -function AddBookmark() {} -function FileBookmark() {} -function EditBookmark() {} -function Newsgroups() {} -function AddressBook() -{ - var wind = window.open("chrome://addressbook/content/addressbook.xul", - "addressbook", "chrome"); - return wind; -} - -function History() {} -function SecurityInfo() {} -function MessengerCenter() {} -function JavaConsole() {} -function PageService() {} -function MailAccount() {} -function MaillingList() {} -function FolderPermission() {} -function ManageNewsgroup() {} -function WindowList() {} -function Help() {} -function About() {} diff --git a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js index 75493ef099a..f7b1dcf1d14 100644 --- a/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js +++ b/mozilla/mailnews/compose/resources/content/MsgComposeCommands.js @@ -191,14 +191,6 @@ function ComposeUnload(calledFromExit) //...and what's about the editor appcore, how can we release it? } -function ComposeExit() -{ - dump("\nComposeExit from XUL\n"); - - //editor appcore knows how to shutdown the application, just use it... - window.editorShell.Exit(); -} - function SetDocumentCharacterSet(aCharset) { dump("SetDocumentCharacterSet Callback!\n"); diff --git a/mozilla/mailnews/compose/resources/content/messengercompose.xul b/mozilla/mailnews/compose/resources/content/messengercompose.xul index 6babc993081..0200d65813e 100644 --- a/mozilla/mailnews/compose/resources/content/messengercompose.xul +++ b/mozilla/mailnews/compose/resources/content/messengercompose.xul @@ -1,6 +1,8 @@ + + @@ -53,7 +54,6 @@ Rights Reserved. - @@ -132,7 +132,7 @@ Rights Reserved. - + @@ -149,7 +149,6 @@ Rights Reserved. - @@ -220,6 +219,9 @@ Rights Reserved. + + +