Skip to content

Commit

Permalink
Include changeset info in the Insert/Copy Build ID menuitem.
Browse files Browse the repository at this point in the history
Also add to Customize Titlebar as "Changeset".
  • Loading branch information
xabolcs committed May 25, 2012
1 parent 32f8808 commit a9ef430
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions extension/chrome/content/nightly.js
Expand Up @@ -57,6 +57,7 @@ variables: {
get platformversion() this.appInfo.platformVersion,
get geckobuildid() this.appInfo.platformBuildID,
get geckoversion() this.appInfo.platformVersion,
get changeset() { return nightly.getChangeset(); },
brandname: null,
get useragent() navigator.userAgent,
get locale() {
Expand Down
1 change: 1 addition & 0 deletions extension/chrome/content/titlebar/customize.js
Expand Up @@ -64,6 +64,7 @@ init: function()
paneTitle.addVariable("Name");
paneTitle.addVariable("Version");
paneTitle.addVariable("AppBuildID");
paneTitle.addVariable("Changeset");
paneTitle.addVariable("PlatformBuildID");
paneTitle.addVariable("PlatformVersion");
paneTitle.addVariable("GeckoVersion");
Expand Down
1 change: 1 addition & 0 deletions extension/chrome/locale/en-US/variables.properties
Expand Up @@ -40,6 +40,7 @@ variable.Vendor.description=Application Vendor
variable.Name.description=Application Name
variable.Version.description=Application Version
variable.AppBuildID.description=Application Build Identifier
variable.Changeset.description=Built from that changeset
variable.PlatformBuildID.description=XUL Platform Build Identifier
variable.PlatformVersion.description=XUL Platform Version
variable.GeckoBuildID.description=Gecko Build Identifier
Expand Down
2 changes: 1 addition & 1 deletion extension/defaults/preferences/variables.js
Expand Up @@ -35,5 +35,5 @@
#
# ***** END LICENSE BLOCK *****
#
pref("nightly.templates.buildid", "${UserAgent} ID:${AppBuildID}${Flags}");
pref("nightly.templates.buildid", "${UserAgent} ID:${AppBuildID}${Flags} CSet: ${Changeset}");
pref("nightly.templates.title", "${DefaultTitle} (Build ${AppBuildID})");

0 comments on commit a9ef430

Please sign in to comment.