зеркало из https://github.com/mozilla/pjs.git
Bug 77613: Title Bar Text doesn't have to be appended by "- config name"? (r=bobj)
Default browser value is displayed if the title bar field is empty
This commit is contained in:
Родитель
b0316db07e
Коммит
4a8a756213
|
@ -587,8 +587,15 @@ int interpret(char *cmd)
|
|||
ModifyJS(xpifile,entity,newvalue);
|
||||
else if (strcmp(cmdname, "modifyProperties") == 0)
|
||||
ModifyProperties(xpifile,entity,newvalue);
|
||||
else
|
||||
else
|
||||
{
|
||||
// If the browser window's title bar text field is empty,
|
||||
// the default browser value is displayed
|
||||
if ((strcmp(entity,"mainWindow.titlemodifier") == 0) &&
|
||||
(strcmp(newvalue,"") == 0))
|
||||
newvalue = "&brandShortName; {&buildId.label;}";
|
||||
ModifyDTD(xpifile, entity, newvalue);
|
||||
}
|
||||
}
|
||||
else if (strcmp(cmdname, "wrapXPI") == 0)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче