summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/first_run_customize_view.cc
diff options
context:
space:
mode:
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() {