From e7acbba67080d3566c531a0a32a38d4ef0be4c12 Mon Sep 17 00:00:00 2001 From: Stefan Plewako Date: Wed, 11 Feb 2015 14:26:00 +0000 Subject: [PATCH] Bug 494210 - dialog.width entity should not be shared between the two sanitize dialogs, r=gijs --- browser/base/content/sanitize.xul | 2 +- browser/components/preferences/sanitize.xul | 8 ++--- .../locales/en-US/chrome/browser/sanitize.dtd | 31 ++++++++++--------- 3 files changed, 21 insertions(+), 20 deletions(-) diff --git a/browser/base/content/sanitize.xul b/browser/base/content/sanitize.xul index 10b3813a813..c00c6cda766 100644 --- a/browser/base/content/sanitize.xul +++ b/browser/base/content/sanitize.xul @@ -26,7 +26,7 @@ dlgbuttons="accept,cancel" title="&sanitizeDialog2.title;" noneverythingtitle="&sanitizeDialog2.title;" - style="width: &dialog.width2;;" + style="width: &sanitizeDialog2.width;;" ondialogaccept="return gSanitizePromptDialog.sanitize();"> diff --git a/browser/components/preferences/sanitize.xul b/browser/components/preferences/sanitize.xul index a8cdfee01ba..18e212af3ef 100644 --- a/browser/components/preferences/sanitize.xul +++ b/browser/components/preferences/sanitize.xul @@ -19,8 +19,8 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" dlgbuttons="accept,cancel,help" ondialoghelp="openPrefsHelp()" - dialogWidth="&dialog.width2;" - subdialogWidth="&inContentDialog.width;" + dialogWidth="&sanitizePrefs2.modal.width;" + subdialogWidth="&sanitizePrefs2.inContent.dialog.width;" title="&sanitizePrefs2.title;" onload="gSanitizeDialog.init();"> @@ -49,8 +49,8 @@ - + diff --git a/browser/locales/en-US/chrome/browser/sanitize.dtd b/browser/locales/en-US/chrome/browser/sanitize.dtd index 3f5d74f3960..7e082fa12c6 100644 --- a/browser/locales/en-US/chrome/browser/sanitize.dtd +++ b/browser/locales/en-US/chrome/browser/sanitize.dtd @@ -3,7 +3,23 @@ - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + + + + + + + + + @@ -53,18 +69,3 @@ that require it. --> that appears when "Time range to clear" is set to "Everything". See UI mockup at bug 480169 --> - - - - - - -