From b90661d5e524a3052beb3e95744f82deb0e35ed0 Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Sun, 9 Dec 2001 08:47:31 +0000 Subject: [PATCH] 114258 - pref panel header binding, dialogoverlay.css shouldn't have to be included in each panel. r=ben sr=hewitt 114268 - unnecessarily setting localname attribute on all pref-based elements when loading pref panels. r=ben sr=hewitt git-svn-id: svn://10.0.0.236/trunk@110118 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/ui/composer/content/pref-composer.xul | 6 ++---- mozilla/editor/ui/composer/content/pref-editing.xul | 6 ++---- .../resources/content/pref-contentpacks.xul | 6 ++---- .../cookie/resources/content/pref-cookies.xul | 5 ++--- .../cookie/resources/content/pref-images.xul | 6 ++---- .../resources/content/prefs/pref-inspector.xul | 8 +++----- .../wallet/resources/content/pref-passwords.xul | 6 ++---- .../wallet/resources/content/pref-wallet.xul | 6 ++---- .../base/prefs/resources/content/pref-mailnews.xul | 6 +++--- .../base/prefs/resources/content/pref-receipts.xul | 10 +++------- .../prefs/resources/content/pref-viewing_messages.xul | 10 +++------- .../resources/content/mail3PaneWindowVertLayout.xul | 2 -- .../mailnews/base/resources/content/messageWindow.xul | 2 -- mozilla/mailnews/base/resources/content/messenger.xul | 2 -- 14 files changed, 26 insertions(+), 55 deletions(-) diff --git a/mozilla/editor/ui/composer/content/pref-composer.xul b/mozilla/editor/ui/composer/content/pref-composer.xul index 817e23f196f..14514420854 100644 --- a/mozilla/editor/ui/composer/content/pref-composer.xul +++ b/mozilla/editor/ui/composer/content/pref-composer.xul @@ -23,13 +23,13 @@ --> - + onload="parent.initPanel('chrome://editor/content/pref-composer.xul');" + headertitle="&lHeader;"> - - diff --git a/mozilla/editor/ui/composer/content/pref-editing.xul b/mozilla/editor/ui/composer/content/pref-editing.xul index 08dc631d1f3..beafba6ce92 100644 --- a/mozilla/editor/ui/composer/content/pref-editing.xul +++ b/mozilla/editor/ui/composer/content/pref-editing.xul @@ -23,12 +23,12 @@ - + onload="parent.initPanel('chrome://editor/content/pref-editing.xul');" + headertitle="&lHeader;"> - &cookieDetails; diff --git a/mozilla/extensions/cookie/resources/content/pref-images.xul b/mozilla/extensions/cookie/resources/content/pref-images.xul index cf8ac46b31d..58aff5d9a22 100644 --- a/mozilla/extensions/cookie/resources/content/pref-images.xul +++ b/mozilla/extensions/cookie/resources/content/pref-images.xul @@ -22,7 +22,6 @@ Peter Annema --> - @@ -32,7 +31,8 @@ ]> + onload="init();" + headertitle="&lHeader;"> - - diff --git a/mozilla/extensions/wallet/resources/content/pref-passwords.xul b/mozilla/extensions/wallet/resources/content/pref-passwords.xul index ebc03f9d947..472cda430a6 100644 --- a/mozilla/extensions/wallet/resources/content/pref-passwords.xul +++ b/mozilla/extensions/wallet/resources/content/pref-passwords.xul @@ -20,7 +20,6 @@ Contributor(s): --> - @@ -29,7 +28,8 @@ %prefWalletDTD; ]> + onload="parent.initPanel('chrome://wallet/content/pref-passwords.xul');" + headertitle="&lHeader;"> - - &signonDescription.label; diff --git a/mozilla/extensions/wallet/resources/content/pref-wallet.xul b/mozilla/extensions/wallet/resources/content/pref-wallet.xul index ce763aedfb1..2c43f0135cc 100644 --- a/mozilla/extensions/wallet/resources/content/pref-wallet.xul +++ b/mozilla/extensions/wallet/resources/content/pref-wallet.xul @@ -20,7 +20,6 @@ Contributor(s): --> - @@ -29,7 +28,8 @@ %prefWalletDTD; ]> + onload="parent.initPanel('chrome://wallet/content/pref-wallet.xul');" + headertitle="&lHeader;"> - - &walletDescription.label; diff --git a/mozilla/mailnews/base/prefs/resources/content/pref-mailnews.xul b/mozilla/mailnews/base/prefs/resources/content/pref-mailnews.xul index 2f9c4b4a855..cc6759a6fa3 100644 --- a/mozilla/mailnews/base/prefs/resources/content/pref-mailnews.xul +++ b/mozilla/mailnews/base/prefs/resources/content/pref-mailnews.xul @@ -24,11 +24,13 @@ Contributor(s): --> + + onload="Init();" + headertitle="&pane.title;"> - - - - diff --git a/mozilla/mailnews/base/prefs/resources/content/pref-viewing_messages.xul b/mozilla/mailnews/base/prefs/resources/content/pref-viewing_messages.xul index 2c7d481ca1f..1116bc83c8e 100644 --- a/mozilla/mailnews/base/prefs/resources/content/pref-viewing_messages.xul +++ b/mozilla/mailnews/base/prefs/resources/content/pref-viewing_messages.xul @@ -1,15 +1,13 @@ + - - - - + onload="parent.initPanel('chrome://messenger/content/pref-viewing_messages.xul');" + headertitle="&pane.title;"> - - diff --git a/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul b/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul index 659cf715bba..0651a1ea1ee 100644 --- a/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul +++ b/mozilla/mailnews/base/resources/content/mail3PaneWindowVertLayout.xul @@ -75,8 +75,6 @@ Rights Reserved.