diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-28 01:22:22 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-28 01:22:22 +0000 |
commit | 0a5f0a187c73e47417511ea2ed988c5b3876f563 (patch) | |
tree | 5a6677909cb754f86af8e4309e5160a6ade4260a /chrome/browser/first_run.cc | |
parent | 90a3fbb1723ba60bcf557121b7bbe80817a7533f (diff) | |
download | chromium_src-0a5f0a187c73e47417511ea2ed988c5b3876f563.zip chromium_src-0a5f0a187c73e47417511ea2ed988c5b3876f563.tar.gz chromium_src-0a5f0a187c73e47417511ea2ed988c5b3876f563.tar.bz2 |
Wire chrome shortcuts tooltip (installation)
- Not complete since we are waiting for translations
- For chromium the tooltip says "Browse the internet"
BUG=b/1522969
Review URL: http://codereview.chromium.org/28272
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run.cc')
-rw-r--r-- | chrome/browser/first_run.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc index 518218e..15e3fdb 100644 --- a/chrome/browser/first_run.cc +++ b/chrome/browser/first_run.cc @@ -148,8 +148,11 @@ bool FirstRun::CreateChromeDesktopShortcut() { std::wstring chrome_exe; if (!PathService::Get(base::FILE_EXE, &chrome_exe)) return false; + BrowserDistribution *dist = BrowserDistribution::GetDistribution(); + if (!dist) + return false; return ShellUtil::CreateChromeDesktopShortcut(chrome_exe, - ShellUtil::CURRENT_USER, // create only for current user + dist->GetAppDescription(), ShellUtil::CURRENT_USER, true); // create if doesnt exist } |