diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 01:21:50 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-10 01:21:50 +0000 |
commit | 7befb7d892a42d3aded68c9d56ef7880f4d01eba (patch) | |
tree | f79200f9be9a5c1ad211363912c77544b32e2fc5 /chrome/browser/gtk/options/content_page_gtk.cc | |
parent | 968102015efeb333bd9b731f3f6b8c117d878eb1 (diff) | |
download | chromium_src-7befb7d892a42d3aded68c9d56ef7880f4d01eba.zip chromium_src-7befb7d892a42d3aded68c9d56ef7880f4d01eba.tar.gz chromium_src-7befb7d892a42d3aded68c9d56ef7880f4d01eba.tar.bz2 |
Remove descriptive text above import settings button. This also removes it for GTK, although GTK has not yet moved the Clear Data button to the third page of the options.
This also eliminates a number of not-referenced strings, and makes the options dialog shorter now that we have the space to do so.
BUG=35085
TEST=Open options dialog, look on second page, Import button should have no text above it.
Review URL: http://codereview.chromium.org/597013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/options/content_page_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/options/content_page_gtk.cc | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc index 0f97bc3..7461cce 100644 --- a/chrome/browser/gtk/options/content_page_gtk.cc +++ b/chrome/browser/gtk/options/content_page_gtk.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -227,15 +227,6 @@ GtkWidget* ContentPageGtk::InitFormAutofillGroup() { GtkWidget* ContentPageGtk::InitBrowsingDataGroup() { GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing); - // Browsing data label. - GtkWidget* browsing_data_label = gtk_label_new( - l10n_util::GetStringUTF8(IDS_OPTIONS_BROWSING_DATA_INFO).c_str()); - gtk_util::WrapLabelAtAllocationHack(browsing_data_label); - - gtk_label_set_line_wrap(GTK_LABEL(browsing_data_label), TRUE); - gtk_misc_set_alignment(GTK_MISC(browsing_data_label), 0, 0); - gtk_box_pack_start(GTK_BOX(vbox), browsing_data_label, FALSE, FALSE, 0); - // Horizontal two button layout. GtkWidget* button_hbox = gtk_hbox_new(FALSE, gtk_util::kControlSpacing); gtk_container_add(GTK_CONTAINER(vbox), button_hbox); @@ -248,8 +239,10 @@ GtkWidget* ContentPageGtk::InitBrowsingDataGroup() { gtk_box_pack_start(GTK_BOX(button_hbox), import_button, FALSE, FALSE, 0); // Clear data button. + // TODO(pkasting): This should move to the advanced settings page (see + // Windows). GtkWidget* clear_data_button = gtk_button_new_with_label( - l10n_util::GetStringUTF8(IDS_OPTIONS_CLEAR_DATA_BUTTON).c_str()); + l10n_util::GetStringUTF8(IDS_OPTIONS_PRIVACY_CLEAR_DATA_BUTTON).c_str()); g_signal_connect(G_OBJECT(clear_data_button), "clicked", G_CALLBACK(OnClearBrowsingDataButtonClicked), this); gtk_box_pack_start(GTK_BOX(button_hbox), clear_data_button, FALSE, FALSE, 0); |