From 2d3e88881719c1e9e07ea75b3c39a90966622977 Mon Sep 17 00:00:00 2001 From: "ben%netscape.com" Date: Sat, 17 Jun 2000 03:26:47 +0000 Subject: [PATCH] partial fixes for 32347, 30536, 41120 --- .../composer/content/TextEditorAppShell.xul | 2 +- editor/ui/composer/content/editor.xul | 2 +- editor/ui/composer/content/editorOverlay.xul | 5 - extensions/irc/xul/content/chatzilla.xul | 2 +- extensions/psm-glue/res/content/Makefile.in | 15 +-- .../psm-glue/res/content/PSMTaskMenu.xul | 28 +++--- extensions/psm-glue/res/content/makefile.win | 14 ++- .../psm-glue/res/content/securityOverlay.xul | 14 +++ extensions/psm-glue/res/content/securityUI.js | 45 +++++++++ extensions/psm-glue/res/locale/en-US/MANIFEST | 2 + .../psm-glue/res/locale/en-US/Makefile.in | 9 +- .../psm-glue/res/locale/en-US/makefile.win | 13 +-- .../res/locale/en-US/securityOverlay.dtd | 2 + .../resources/content/addressbook.xul | 5 +- .../base/prefs/resources/content/MANIFEST | 1 + .../base/prefs/resources/content/Makefile.in | 1 + .../resources/content/mailPrefsOverlay.xul | 81 ++++++++++++++++ .../base/prefs/resources/content/makefile.win | 1 + .../prefs/resources/locale/en-US/MANIFEST | 1 + .../prefs/resources/locale/en-US/Makefile.in | 1 + .../locale/en-US/mailPrefsOverlay.dtd | 15 +++ .../prefs/resources/locale/en-US/makefile.win | 1 + mailnews/base/resources/content/MANIFEST | 7 ++ mailnews/base/resources/content/Makefile.in | 7 ++ .../base/resources/content/folderPane.xul | 11 +-- .../content/mail3PaneWindowVertLayout.xul | 3 +- .../base/resources/content/mailABOverlay.xul | 16 ++++ .../resources/content/mailEditorOverlay.xul | 43 +++++++++ .../content/mailMessengerComposeOverlay.xul | 16 ++++ .../content/mailMessengerOverlay.xul | 16 ++++ .../content/mailNavigatorOverlay.xul | 53 ++++++++++ .../base/resources/content/mailOverlay.xul | 41 ++++++++ .../resources/content/mailTasksOverlay.xul | 60 ++++++++++++ .../resources/content/mailWindowOverlay.xul | 4 - mailnews/base/resources/content/makefile.win | 7 ++ mailnews/base/resources/content/manifest.rdf | 63 ++++++++++++ .../base/resources/content/messageWindow.xul | 2 +- mailnews/base/resources/content/messenger.xul | 3 +- mailnews/base/resources/content/subscribe.xul | 8 +- .../base/resources/content/threadPane.xul | 22 ++--- mailnews/base/resources/locale/en-US/MANIFEST | 4 + .../base/resources/locale/en-US/Makefile.in | 4 + .../locale/en-US/mailEditorOverlay.dtd | 3 + .../locale/en-US/mailNavigatorOverlay.dtd | 11 +++ .../resources/locale/en-US/mailOverlay.dtd | 8 ++ .../locale/en-US/mailTasksOverlay.dtd | 6 ++ .../base/resources/locale/en-US/makefile.win | 4 + .../resources/content/messengercompose.xul | 6 +- .../news/resources/content/downloadheaders.js | 28 +++++- .../resources/content/downloadheaders.xul | 58 +++++------ .../resources/locale/en-US/news.properties | 4 +- xpfe/browser/resources/content/navigator.js | 71 ++++++++++++-- xpfe/browser/resources/content/navigator.xul | 9 +- .../resources/content/navigatorOverlay.xul | 11 +-- .../resources/locale/en-US/navigator.dtd | 2 - .../locale/en-US/navigator.properties | 1 + .../resources/locale/en-US/MANIFEST | 3 + .../resources/locale/en-US/Makefile.in | 3 + .../resources/locale/en-US/makefile.win | 3 + .../resources/locale/en-US/taskbar.rdf | 47 +++++++++ .../resources/locale/en-US/taskbarOverlay.dtd | 10 ++ .../resources/locale/en-US/tasksOverlay.dtd | 52 ++++++++++ .../resources/locale/en-US/utilityOverlay.dtd | 7 -- .../console/resources/content/MANIFEST | 2 + .../console/resources/content/Makefile.in | 2 + .../console/resources/content/console.css | 16 ++++ .../console/resources/content/console.js | 55 ++++++++--- .../console/resources/content/console.xul | 76 ++++++++++----- .../resources/content/consoleBindings.xml | 37 +++++++ .../console/resources/content/makefile.win | 2 + .../resources/locale/en-US/console.dtd | 10 ++ .../resources/content/pref-advanced.xul | 13 +-- .../resources/content/pref-appearance.xul | 12 +-- .../resources/content/pref-themes.js | 48 ++++++++++ .../resources/content/pref-themes.xul | 96 +++++++++++-------- .../prefwindow/resources/content/pref.xul | 4 +- .../prefwindow/resources/content/preftree.xul | 41 +------- .../resources/locale/en-US/pref-advanced.dtd | 3 - .../locale/en-US/pref-appearance.dtd | 3 - .../resources/locale/en-US/pref-themes.dtd | 9 ++ .../resources/locale/en-US/preftree.dtd | 7 -- xpfe/global/resources/content/MANIFEST | 4 - xpfe/global/resources/content/Makefile.in | 4 - .../global/resources/content/hiddenWindow.xul | 2 +- xpfe/global/resources/content/makefile.win | 4 - .../resources/content/menulistBindings.xml | 51 ++-------- xpfe/global/resources/locale/en-US/MANIFEST | 3 - .../global/resources/locale/en-US/Makefile.in | 3 - .../resources/locale/en-US/makefile.win | 3 - 89 files changed, 1142 insertions(+), 365 deletions(-) create mode 100644 extensions/psm-glue/res/content/securityOverlay.xul create mode 100644 extensions/psm-glue/res/content/securityUI.js create mode 100644 extensions/psm-glue/res/locale/en-US/securityOverlay.dtd create mode 100644 mailnews/base/prefs/resources/content/mailPrefsOverlay.xul create mode 100644 mailnews/base/prefs/resources/locale/en-US/mailPrefsOverlay.dtd create mode 100644 mailnews/base/resources/content/mailABOverlay.xul create mode 100644 mailnews/base/resources/content/mailEditorOverlay.xul create mode 100644 mailnews/base/resources/content/mailMessengerComposeOverlay.xul create mode 100644 mailnews/base/resources/content/mailMessengerOverlay.xul create mode 100644 mailnews/base/resources/content/mailNavigatorOverlay.xul create mode 100644 mailnews/base/resources/content/mailOverlay.xul create mode 100644 mailnews/base/resources/content/mailTasksOverlay.xul create mode 100644 mailnews/base/resources/locale/en-US/mailEditorOverlay.dtd create mode 100644 mailnews/base/resources/locale/en-US/mailNavigatorOverlay.dtd create mode 100644 mailnews/base/resources/locale/en-US/mailOverlay.dtd create mode 100644 mailnews/base/resources/locale/en-US/mailTasksOverlay.dtd create mode 100644 xpfe/communicator/resources/locale/en-US/taskbar.rdf create mode 100644 xpfe/communicator/resources/locale/en-US/taskbarOverlay.dtd create mode 100644 xpfe/communicator/resources/locale/en-US/tasksOverlay.dtd create mode 100644 xpfe/components/console/resources/content/console.css create mode 100644 xpfe/components/console/resources/content/consoleBindings.xml diff --git a/editor/ui/composer/content/TextEditorAppShell.xul b/editor/ui/composer/content/TextEditorAppShell.xul index 4e8b899ce2c3..585ab66b28d0 100644 --- a/editor/ui/composer/content/TextEditorAppShell.xul +++ b/editor/ui/composer/content/TextEditorAppShell.xul @@ -26,7 +26,7 @@ - + diff --git a/editor/ui/composer/content/editor.xul b/editor/ui/composer/content/editor.xul index c26f9e0aef3f..9b8309fa0429 100644 --- a/editor/ui/composer/content/editor.xul +++ b/editor/ui/composer/content/editor.xul @@ -30,7 +30,7 @@ - + diff --git a/editor/ui/composer/content/editorOverlay.xul b/editor/ui/composer/content/editorOverlay.xul index b7b016233096..9d5f1cc89c4a 100644 --- a/editor/ui/composer/content/editorOverlay.xul +++ b/editor/ui/composer/content/editorOverlay.xul @@ -42,7 +42,6 @@ - @@ -84,7 +83,6 @@ events="create" oncommandupdate="goUpdateComposerMenuItems(this)" > - @@ -264,8 +262,6 @@ --> - - @@ -282,7 +278,6 @@ - diff --git a/extensions/irc/xul/content/chatzilla.xul b/extensions/irc/xul/content/chatzilla.xul index 433cdff95e55..c0470c55fe81 100644 --- a/extensions/irc/xul/content/chatzilla.xul +++ b/extensions/irc/xul/content/chatzilla.xul @@ -30,7 +30,7 @@ - + - + + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - + -function displaySecurityAdvisor() -{ - var psm = Components.classes["component://netscape/psm"].getService(); - psm = psm.QueryInterface(Components.interfaces.nsIPSMComponent); - psm.displaySecurityAdvisor( null, null ); -} - - - - + - + diff --git a/extensions/psm-glue/res/content/makefile.win b/extensions/psm-glue/res/content/makefile.win index 57211b3c7e72..b6271832de03 100644 --- a/extensions/psm-glue/res/content/makefile.win +++ b/extensions/psm-glue/res/content/makefile.win @@ -24,14 +24,12 @@ include <$(DEPTH)/config/config.mak> include <$(DEPTH)\config\rules.mak> install:: $(DLL) - $(MAKE_INSTALL) NavSecurityOverlay.xul $(DIST)\bin\chrome\packages\core\navigator\content - $(MAKE_INSTALL) NavSecurityUI.js $(DIST)\bin\chrome\packages\core\navigator\content - -install:: $(DLL) - $(MAKE_INSTALL) PSMTaskMenu.xul $(DIST)\bin\chrome\packages\widget-toolkit\global\content + $(MAKE_INSTALL) securityOverlay.xul $(DIST)\bin\chrome\packages\core\communicator\content + $(MAKE_INSTALL) securityUI.js $(DIST)\bin\chrome\packages\core\communicator\content + $(MAKE_INSTALL) PSMTaskMenu.xul $(DIST)\bin\chrome\packages\core\communicator\content clobber:: - $(RM) $(DIST)\bin\chrome\packages\core\navigator\content\NavSecurityOverlay.xul - $(RM) $(DIST)\bin\chrome\packages\core\navigator\content\NavSecurityUI.js - $(RM) $(DIST)\bin\chrome\packages\widget-toolkit\global\content\PSMTaskMenu.xul + $(RM) $(DIST)\bin\chrome\packages\core\communicator\content\securityOverlay.xul + $(RM) $(DIST)\bin\chrome\packages\core\communicator\content\securityUI.js + $(RM) $(DIST)\bin\chrome\packages\core\communicator\content\PSMTaskMenu.xul diff --git a/extensions/psm-glue/res/content/securityOverlay.xul b/extensions/psm-glue/res/content/securityOverlay.xul new file mode 100644 index 000000000000..ff775edda625 --- /dev/null +++ b/extensions/psm-glue/res/content/securityOverlay.xul @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mailnews/base/prefs/resources/content/makefile.win b/mailnews/base/prefs/resources/content/makefile.win index 139a7647c442..bc84f705ddfe 100644 --- a/mailnews/base/prefs/resources/content/makefile.win +++ b/mailnews/base/prefs/resources/content/makefile.win @@ -75,6 +75,7 @@ CHROME_CONTENT = \ .\SmtpServerEdit.js \ .\smtpEditOverlay.xul \ .\smtpEditOverlay.js \ + .\mailPrefsOverlay.xul \ $(NULL) include <$(DEPTH)\config\rules.mak> diff --git a/mailnews/base/prefs/resources/locale/en-US/MANIFEST b/mailnews/base/prefs/resources/locale/en-US/MANIFEST index ae30719c0b7d..dc8e9ecff8c5 100644 --- a/mailnews/base/prefs/resources/locale/en-US/MANIFEST +++ b/mailnews/base/prefs/resources/locale/en-US/MANIFEST @@ -45,3 +45,4 @@ prefs.properties am-serverwithnoidentities.dtd SmtpServerList.dtd smtpEditOverlay.dtd +mailPrefsOverlay.dtd diff --git a/mailnews/base/prefs/resources/locale/en-US/Makefile.in b/mailnews/base/prefs/resources/locale/en-US/Makefile.in index 95b243ab3529..97f6da913a05 100644 --- a/mailnews/base/prefs/resources/locale/en-US/Makefile.in +++ b/mailnews/base/prefs/resources/locale/en-US/Makefile.in @@ -55,6 +55,7 @@ CHROME_L10N = \ am-serverwithnoidentities.dtd \ SmtpServerList.dtd \ smtpEditOverlay.dtd \ + mailPrefsOverlay.dtd \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/mailnews/base/prefs/resources/locale/en-US/mailPrefsOverlay.dtd b/mailnews/base/prefs/resources/locale/en-US/mailPrefsOverlay.dtd new file mode 100644 index 000000000000..04290072231a --- /dev/null +++ b/mailnews/base/prefs/resources/locale/en-US/mailPrefsOverlay.dtd @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/mailnews/base/prefs/resources/locale/en-US/makefile.win b/mailnews/base/prefs/resources/locale/en-US/makefile.win index e2084390b0e7..6b89b98d9adf 100644 --- a/mailnews/base/prefs/resources/locale/en-US/makefile.win +++ b/mailnews/base/prefs/resources/locale/en-US/makefile.win @@ -50,6 +50,7 @@ CHROME_L10N = \ .\am-serverwithnoidentities.dtd \ .\SmtpServerList.dtd \ .\smtpEditOverlay.dtd \ + .\mailPrefsOverlay.dtd \ $(NULL) include <$(DEPTH)\config\rules.mak> diff --git a/mailnews/base/resources/content/MANIFEST b/mailnews/base/resources/content/MANIFEST index 9da76ad78b74..deb3edb61cd2 100644 --- a/mailnews/base/resources/content/MANIFEST +++ b/mailnews/base/resources/content/MANIFEST @@ -54,3 +54,10 @@ msgPrintEngine.js msgPrintEngine.xul openSaveAttachment.xul openSaveAttachment.js +mailTasksOverlay.xul +mailNavigatorOverlay.xul +mailEditorOverlay.xul +mailABOverlay.xul +mailMessengerOverlay.xul +mailMessengerComposeOverlay.xul +mailOverlay.xul diff --git a/mailnews/base/resources/content/Makefile.in b/mailnews/base/resources/content/Makefile.in index 7d27beb55b87..a42af852397e 100644 --- a/mailnews/base/resources/content/Makefile.in +++ b/mailnews/base/resources/content/Makefile.in @@ -76,6 +76,13 @@ CHROME_CONTENT = \ imapTest.js \ openSaveAttachment.xul \ openSaveAttachment.js \ + mailTasksOverlay.xul \ + mailNavigatorOverlay.xul \ + mailEditorOverlay.xul \ + mailABOverlay.xul \ + mailMessengerOverlay.xul \ + mailMessengerComposeOverlay.xul \ + mailOverlay.xul \ $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/mailnews/base/resources/content/folderPane.xul b/mailnews/base/resources/content/folderPane.xul index ce17afad9820..e235f52d3f5e 100644 --- a/mailnews/base/resources/content/folderPane.xul +++ b/mailnews/base/resources/content/folderPane.xul @@ -41,9 +41,13 @@ ondragdrop="return DropOnFolderTree(event);" onclick="FolderPaneOnClick(event);"> + + + + - - - - - diff --git a/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul b/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul index 34cd39218b88..2f426e69e931 100644 --- a/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul +++ b/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul @@ -27,8 +27,9 @@ Rights Reserved. + - + diff --git a/mailnews/base/resources/content/mailABOverlay.xul b/mailnews/base/resources/content/mailABOverlay.xul new file mode 100644 index 000000000000..3a485b800068 --- /dev/null +++ b/mailnews/base/resources/content/mailABOverlay.xul @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + diff --git a/mailnews/base/resources/content/mailEditorOverlay.xul b/mailnews/base/resources/content/mailEditorOverlay.xul new file mode 100644 index 000000000000..f00a4d65843b --- /dev/null +++ b/mailnews/base/resources/content/mailEditorOverlay.xul @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mailnews/base/resources/content/mailMessengerComposeOverlay.xul b/mailnews/base/resources/content/mailMessengerComposeOverlay.xul new file mode 100644 index 000000000000..254fa1f4c469 --- /dev/null +++ b/mailnews/base/resources/content/mailMessengerComposeOverlay.xul @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + diff --git a/mailnews/base/resources/content/mailMessengerOverlay.xul b/mailnews/base/resources/content/mailMessengerOverlay.xul new file mode 100644 index 000000000000..437692917c3f --- /dev/null +++ b/mailnews/base/resources/content/mailMessengerOverlay.xul @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + diff --git a/mailnews/base/resources/content/mailNavigatorOverlay.xul b/mailnews/base/resources/content/mailNavigatorOverlay.xul new file mode 100644 index 000000000000..b9708c1ef056 --- /dev/null +++ b/mailnews/base/resources/content/mailNavigatorOverlay.xul @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mailnews/base/resources/content/mailOverlay.xul b/mailnews/base/resources/content/mailOverlay.xul new file mode 100644 index 000000000000..9d704e9cb83b --- /dev/null +++ b/mailnews/base/resources/content/mailOverlay.xul @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/mailnews/base/resources/content/mailTasksOverlay.xul b/mailnews/base/resources/content/mailTasksOverlay.xul new file mode 100644 index 000000000000..78ae2145534d --- /dev/null +++ b/mailnews/base/resources/content/mailTasksOverlay.xul @@ -0,0 +1,60 @@ + + + +%brandDTD; + +%mailTasksOverlayDTD; +]> + + + + + + +