зеркало из https://github.com/mozilla/gecko-dev.git
Bug 369030 mainWindow title has no info about views. Patch by Markus Adrario <MarkusAdrario@web.de>, r=lilmatt,jminta
This commit is contained in:
Родитель
66a24ba0c2
Коммит
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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче