Closed
Bug 425421
Opened 17 years ago
Closed 7 years ago
Override build ID and version
Categories
(Mozilla Labs :: Prism, defect)
Mozilla Labs
Prism
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: matthew.gertner, Assigned: matthew.gertner)
Details
It should be possible to override the values for build ID and version in webapp.ini.
Comment 1•17 years ago
|
||
why?
Assignee | ||
Comment 2•17 years ago
|
||
JJ, why do you guys want to override the build ID and version?
Matt, Mark,
The reason we want to override things like version and buildId is so that things like about.js can pull information from webapp, instead of from prism application.ini.
For example, in about.js:
var appInfo = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo);
version.value = bundle.GetStringFromName("brandFullName") + " " + appInfo.version;
We actually want to change it to:
version.value = bundle.GetStringFromName("brandFullName") + " " + appInfo.version + " (build " + appInfo.appBuildID + ")";
So that the about dialog can show buildId as well. But at the same time we don't want to directly modify application.ini if possible, hence we'd like to override from webapp.ini.
BTW, slightly off the topic, about.xul takes app icon from
<image src="chrome://branding/locale/icon128.png"/>
I feel even this icon should come from webapp instead of prism branding.
Thanks!
Assignee | ||
Comment 4•17 years ago
|
||
I think what we really want is some way for a webapp to display a customized about box, not the Prism about box.
Comment 5•7 years ago
|
||
Prism isn't maintained anymore. Mass closing of the bugs.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•