mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
Bug 369030 mainWindow title has no info about views. Patch by Markus Adrario <MarkusAdrario@web.de>, r=lilmatt,jminta
This commit is contained in:
parent
66a24ba0c2
commit
a8a7f16ec4
@ -96,6 +96,11 @@
|
||||
document.getAnonymousElementByAttribute(this, "anonid", "title-"+i)
|
||||
.setAttribute("label", aNameArray[i+2]);
|
||||
}
|
||||
var sbs = Components.classes["@mozilla.org/intl/stringbundle;1"]
|
||||
.getService(Components.interfaces.nsIStringBundleService);
|
||||
var brand = sbs.createBundle("chrome://branding/locale/brand.properties");
|
||||
|
||||
document.title = aNameArray[2] + " - " + brand.GetStringFromName("brandShortName");
|
||||
]]></body>
|
||||
</method>
|
||||
<method name="moveView">
|
||||
|
Loading…
Reference in New Issue
Block a user