summaryrefslogtreecommitdiffstats
path: root/chrome/browser/first_run.cc
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 21:55:44 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-25 21:55:44 +0000
commitcdd24e1db2da2fa61261ff78278ce2961a320b84 (patch)
treec47786e883c99acca5fe520055ed6a42184b16e3 /chrome/browser/first_run.cc
parent11c49d070cd2b1468a8224aabfabef24a094a488 (diff)
downloadchromium_src-cdd24e1db2da2fa61261ff78278ce2961a320b84.zip
chromium_src-cdd24e1db2da2fa61261ff78278ce2961a320b84.tar.gz
chromium_src-cdd24e1db2da2fa61261ff78278ce2961a320b84.tar.bz2
Wire the alternate desktop shortcut text
- second set of changes, one small one to come - adds a parameter on the desktop shortcut creator function that indicate the text to use - plumbs the master preference and the command line parameter BUG=1522969 Review URL: http://codereview.chromium.org/42586 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/first_run.cc')
-rw-r--r--chrome/browser/first_run.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/first_run.cc b/chrome/browser/first_run.cc
index d38f76a..6e57f42 100644
--- a/chrome/browser/first_run.cc
+++ b/chrome/browser/first_run.cc
@@ -170,7 +170,7 @@ bool FirstRun::CreateChromeDesktopShortcut() {
return false;
return ShellUtil::CreateChromeDesktopShortcut(chrome_exe,
dist->GetAppDescription(), ShellUtil::CURRENT_USER,
- true); // create if doesnt exist
+ false, true); // create if doesn't exist.
}
bool FirstRun::CreateChromeQuickLaunchShortcut() {
@@ -178,8 +178,8 @@ bool FirstRun::CreateChromeQuickLaunchShortcut() {
if (!PathService::Get(base::FILE_EXE, &chrome_exe))
return false;
return ShellUtil::CreateChromeQuickLaunchShortcut(chrome_exe,
- ShellUtil::CURRENT_USER, // create only for current user
- true); // create if doesnt exist
+ ShellUtil::CURRENT_USER, // create only for current user.
+ true); // create if doesn't exist.
}
bool FirstRun::RemoveSentinel() {