summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/first_run_customize_view.cc
diff options
context:
space:
mode:
authorcpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 19:25:01 +0000
committercpu@google.com <cpu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-23 19:25:01 +0000
commit605afb7dbd7eae952450111505fbf260cef9cf6d (patch)
treee54378f54a67f24313cc0cb156ff51c62dc96bcf /chrome/browser/views/first_run_customize_view.cc
parentf6017e4335b3ca6a13b64325cfab48291f84514a (diff)
downloadchromium_src-605afb7dbd7eae952450111505fbf260cef9cf6d.zip
chromium_src-605afb7dbd7eae952450111505fbf260cef9cf6d.tar.gz
chromium_src-605afb7dbd7eae952450111505fbf260cef9cf6d.tar.bz2
Don't add the QuickLaunch shortcut by default in Windows7
BUG=17401 TEST=none Review URL: http://codereview.chromium.org/159244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/first_run_customize_view.cc')
-rw-r--r--chrome/browser/views/first_run_customize_view.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/views/first_run_customize_view.cc b/chrome/browser/views/first_run_customize_view.cc
index 9409f69..a61d124 100644
--- a/chrome/browser/views/first_run_customize_view.cc
+++ b/chrome/browser/views/first_run_customize_view.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,7 @@
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
+#include "base/win_util.h"
#include "chrome/browser/importer/importer.h"
#include "chrome/browser/first_run.h"
#include "chrome/browser/metrics/user_metrics.h"
@@ -77,7 +78,9 @@ void FirstRunCustomizeView::SetupControls() {
desktop_shortcut_cbox_->SetChecked(true);
quick_shortcut_cbox_ = MakeCheckBox(IDS_FR_CUSTOM_SHORTCUT_QUICKL);
- quick_shortcut_cbox_->SetChecked(true);
+ // For windows 7 create quick launch default is not checked.
+ bool ql_default = (win_util::GetWinVersion() < win_util::WINVERSION_WIN7);
+ quick_shortcut_cbox_->SetChecked(ql_default);
}
gfx::Size FirstRunCustomizeView::GetPreferredSize() {