diff options
author | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 21:55:44 +0000 |
---|---|---|
committer | cpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-25 21:55:44 +0000 |
commit | cdd24e1db2da2fa61261ff78278ce2961a320b84 (patch) | |
tree | c47786e883c99acca5fe520055ed6a42184b16e3 /chrome/browser/browser_main_win.cc | |
parent | 11c49d070cd2b1468a8224aabfabef24a094a488 (diff) | |
download | chromium_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/browser_main_win.cc')
-rw-r--r-- | chrome/browser/browser_main_win.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browser_main_win.cc b/chrome/browser/browser_main_win.cc index a2fbd06..e5b0dd4 100644 --- a/chrome/browser/browser_main_win.cc +++ b/chrome/browser/browser_main_win.cc @@ -63,8 +63,9 @@ int DoUninstallTasks(bool chrome_still_running) { ResultCodes::ExitCode ret = ResultCodes::NORMAL_EXIT; if (!FirstRun::RemoveSentinel()) ret = ResultCodes::UNINSTALL_DELETE_FILE_ERROR; - // We only want to modify user level shortcuts so pass false for system_level. - if (!ShellUtil::RemoveChromeDesktopShortcut(ShellUtil::CURRENT_USER)) + // We want to remove user level shortcuts and we only care about the ones + // created by us and not by the installer so |alternate| is false. + if (!ShellUtil::RemoveChromeDesktopShortcut(ShellUtil::CURRENT_USER, false)) ret = ResultCodes::UNINSTALL_DELETE_FILE_ERROR; if (!ShellUtil::RemoveChromeQuickLaunchShortcut(ShellUtil::CURRENT_USER)) ret = ResultCodes::UNINSTALL_DELETE_FILE_ERROR; |