summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main_win.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/browser_main_win.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/browser_main_win.cc')
-rw-r--r--chrome/browser/browser_main_win.cc5
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;