From 605bb7b489b48ff6ebf1b002b10bcc7377496ce6 Mon Sep 17 00:00:00 2001 From: "ben%netscape.com" Date: Sun, 30 Apr 2000 02:47:45 +0000 Subject: [PATCH] prefwindow skinnability cleanup, string changes for verah --- .../resources/content/nsPrefWindow.js | 2 +- .../resources/content/pref-advanced.xul | 11 +++++++---- .../resources/content/pref-appearance.xul | 10 +++++++--- .../resources/content/pref-applications.xul | 18 +++++++++++------- .../resources/content/pref-cache.xul | 5 +++-- .../resources/content/pref-colors.xul | 15 +++++---------- .../resources/content/pref-composer.xul | 3 +-- .../resources/content/pref-debug.xul | 3 +-- .../resources/content/pref-editing.xul | 3 +-- .../resources/content/pref-fonts.js | 19 +++++++++++++------ .../resources/content/pref-fonts.xul | 3 +-- .../resources/content/pref-languages.xul | 4 ++-- .../resources/content/pref-mousewheel.xul | 9 ++++----- .../resources/content/pref-navigator.xul | 3 +-- .../resources/content/pref-policies.xul | 3 +-- .../resources/content/pref-proxies.xul | 4 ++-- .../resources/content/pref-search.xul | 3 +-- .../resources/content/pref-smart_browsing.xul | 3 +-- .../resources/content/pref-smartupdate.xul | 6 +++--- .../resources/content/pref-themes.xul | 1 - .../resources/content/pref-wallet.xul | 3 +-- .../prefwindow/resources/content/pref.xul | 3 +-- .../prefwindow/resources/content/preftree.xul | 2 +- .../resources/locale/en-US/pref-advanced.dtd | 9 ++++++--- .../locale/en-US/pref-appearance.dtd | 11 +++++------ .../locale/en-US/pref-applications.dtd | 8 ++++---- .../resources/locale/en-US/pref-cache.dtd | 8 ++++---- .../resources/locale/en-US/pref-colors.dtd | 11 +++++------ .../resources/locale/en-US/pref-composer.dtd | 7 ++----- .../resources/locale/en-US/pref-fonts.dtd | 9 ++++----- .../resources/locale/en-US/pref-languages.dtd | 4 ++-- .../locale/en-US/pref-mousewheel.dtd | 2 +- .../resources/locale/en-US/pref-navigator.dtd | 9 ++++----- .../resources/locale/en-US/pref-proxies.dtd | 4 ++-- .../resources/locale/en-US/pref-search.dtd | 7 +++---- .../locale/en-US/pref-smart_browsing.dtd | 5 ++--- .../locale/en-US/pref-smartupdate.dtd | 7 ++++--- .../resources/locale/en-US/pref-wallet.dtd | 18 +++++++++--------- .../locale/en-US/prefutilities.properties | 1 + 39 files changed, 127 insertions(+), 129 deletions(-) diff --git a/xpfe/components/prefwindow/resources/content/nsPrefWindow.js b/xpfe/components/prefwindow/resources/content/nsPrefWindow.js index 40aef069a4f5..caf848ca7925 100644 --- a/xpfe/components/prefwindow/resources/content/nsPrefWindow.js +++ b/xpfe/components/prefwindow/resources/content/nsPrefWindow.js @@ -309,7 +309,7 @@ nsPrefWindow.prototype = for( var i = 0; i < panelChildren.childNodes.length; i++ ) { var currentItem = panelChildren.childNodes[i]; - if( currentItem.id != aComponentName ) + if( currentItem.id != aComponentName && currentItem.id != "appearance" ) currentItem.removeAttribute( "open" ); } var openItem = document.getElementById( aComponentName ); diff --git a/xpfe/components/prefwindow/resources/content/pref-advanced.xul b/xpfe/components/prefwindow/resources/content/pref-advanced.xul index 5675e4ccac75..26052f3c0b1a 100644 --- a/xpfe/components/prefwindow/resources/content/pref-advanced.xul +++ b/xpfe/components/prefwindow/resources/content/pref-advanced.xul @@ -20,7 +20,6 @@ Contributor(s): --> - @@ -42,7 +41,7 @@ function displayImageDialog() { - window.openDialog("chrome://pref/content/pref-imageblocking.xul", "", "chrome,resizable=no"); + window.openDialog("chrome://communicator/content/pref/pref-imageblocking.xul", "", "chrome,resizable=no"); } function updateImageFields( aInteger, aBoolean ) @@ -62,10 +61,10 @@ ]]> - + - + <text value="&advancedTitle.label;"/> + + + + &description.label; diff --git a/xpfe/components/prefwindow/resources/content/pref-appearance.xul b/xpfe/components/prefwindow/resources/content/pref-appearance.xul index 902a328acb2c..74e4a3ff54e6 100644 --- a/xpfe/components/prefwindow/resources/content/pref-appearance.xul +++ b/xpfe/components/prefwindow/resources/content/pref-appearance.xul @@ -23,10 +23,14 @@ --> - - + +%brandDTD; + +%prefAppearanceDTD; +]> - + <text value="&onStartLegend.label;"/> diff --git a/xpfe/components/prefwindow/resources/content/pref-applications.xul b/xpfe/components/prefwindow/resources/content/pref-applications.xul index 77ae659e520a..486e92484d0f 100644 --- a/xpfe/components/prefwindow/resources/content/pref-applications.xul +++ b/xpfe/components/prefwindow/resources/content/pref-applications.xul @@ -22,7 +22,6 @@ --> - @@ -41,10 +40,13 @@ from the list as appropriate to pass to the Data Manager --> - + <text value="&descript;"/> + + + @@ -55,11 +57,13 @@ - -