From 605afb7dbd7eae952450111505fbf260cef9cf6d Mon Sep 17 00:00:00 2001 From: "cpu@google.com" Date: Thu, 23 Jul 2009 19:25:01 +0000 Subject: 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 --- chrome/browser/views/first_run_customize_view.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chrome/browser/views/first_run_customize_view.cc') 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() { -- cgit v1.1