Bug 303307 - [Mac] If a prefpane doesn't have its own title, fallback to the prefwindow title. r+a=mconnor.

git-svn-id: svn://10.0.0.236/trunk@177158 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mozilla.mano%sent.com
2005-08-05 06:27:30 +00:00
parent 4bd1569f79
commit 25396236a7
2 changed files with 4 additions and 2 deletions

View File

@@ -52,7 +52,7 @@
style="width: 30em !important;"
ondialogaccept="gSanitizePromptDialog.sanitize();">
<prefpane id="SanitizeDialogPane" onpaneload="gSanitizePromptDialog.init();" label="&sanitizeDialog.title;">
<prefpane id="SanitizeDialogPane" onpaneload="gSanitizePromptDialog.init();">
<stringbundle id="bundleBrowser" src="chrome://browser/locale/browser.properties"/>
<script type="application/x-javascript" src="chrome://browser/content/sanitize.js"/>

View File

@@ -634,7 +634,9 @@
<body>
<![CDATA[
#ifdef XP_MACOSX
document.title = aPaneElement.label;
var paneTitle = aPaneElement.label;
if (paneTitle != "")
document.title = paneTitle;
#endif
// Find this pane's index in the deck and set the deck's