diff options
author | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-08 20:51:48 +0000 |
---|---|---|
committer | finnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-08 20:51:48 +0000 |
commit | 62fbbbe68b8f50b9a72f041b6c8c4b1e62aff9c7 (patch) | |
tree | f290af35d07ae4368e10323ce55340ad8866b98f /chrome/browser/views | |
parent | f1d306e67b8676336f55aae95652d7cd51359534 (diff) | |
download | chromium_src-62fbbbe68b8f50b9a72f041b6c8c4b1e62aff9c7.zip chromium_src-62fbbbe68b8f50b9a72f041b6c8c4b1e62aff9c7.tar.gz chromium_src-62fbbbe68b8f50b9a72f041b6c8c4b1e62aff9c7.tar.bz2 |
Fix 1955: Show Chromium build number after version (Chromium only)
People download random builds of Chromium off our server. This makes it easier
for them to figure out what build number they are using by showing it in the
About box (in parenthesis right after the version number).
This change does not change the way we display versions in Google Chrome.
Review URL: http://codereview.chromium.org/13194
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/about_chrome_view.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc index efb5027..09a4ccf 100644 --- a/chrome/browser/views/about_chrome_view.cc +++ b/chrome/browser/views/about_chrome_view.cc @@ -113,6 +113,11 @@ void AboutChromeView::Init() { } current_version_ = version_info->file_version(); +#if !defined(GOOGLE_CHROME_BUILD) + current_version_ += L" ("; + current_version_ += version_info->last_change(); + current_version_ += L")"; +#endif // Views we will add to the *parent* of this dialog, since it will display // next to the buttons which we don't draw ourselves. |