summaryrefslogtreecommitdiffstats
path: root/tools/channel_changer/channel_changer.cc
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-24 01:36:48 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-24 01:36:48 +0000
commit6d83589882ab60fd6260bccfe54ae0667c2ed283 (patch)
tree4581e9db718f0e7b844f017d3336a091ee18d747 /tools/channel_changer/channel_changer.cc
parenta5990c3fac9d595533d1ffe71b94f83574e04f07 (diff)
downloadchromium_src-6d83589882ab60fd6260bccfe54ae0667c2ed283.zip
chromium_src-6d83589882ab60fd6260bccfe54ae0667c2ed283.tar.gz
chromium_src-6d83589882ab60fd6260bccfe54ae0667c2ed283.tar.bz2
A small textual change to the Channel Changer to point out that admin privileges are required (in some cases).
Review URL: http://codereview.chromium.org/16232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/channel_changer/channel_changer.cc')
-rw-r--r--tools/channel_changer/channel_changer.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/channel_changer/channel_changer.cc b/tools/channel_changer/channel_changer.cc
index 8b5bd8c..26898c7 100644
--- a/tools/channel_changer/channel_changer.cc
+++ b/tools/channel_changer/channel_changer.cc
@@ -185,8 +185,9 @@ void SaveChanges(HWND dialog) {
if (branch != UNKNOWN_BRANCH) {
RegKey google_update(registry_hive, kChromeClientStateKey, KEY_WRITE);
if (!google_update.WriteValue(kBranchKey, kBranchStrings[branch])) {
- MessageBox(dialog, L"Unable to change value. Please make sure you\n"
- L"have permission to change registry keys.",
+ MessageBox(dialog, L"Unable to change value. You must be an "
+ L"administrator of this computer\nto run this "
+ L"program.",
L"Unable to update branch info", MB_OK | MB_ICONERROR);
} else {
std::wstring save_msg = L"Your changes have been saved.\nYou are now "