summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 09:20:02 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-24 09:20:02 +0000
commitaf2ae52b8f5ec53e1ba1b4593368cd66f59c3a4d (patch)
tree82cf3ef9fd61bf3a03066bc96348de5102c9b879 /chrome/browser
parentce87b358f674afdcbef41c3712b42ffc437a2996 (diff)
downloadchromium_src-af2ae52b8f5ec53e1ba1b4593368cd66f59c3a4d.zip
chromium_src-af2ae52b8f5ec53e1ba1b4593368cd66f59c3a4d.tar.gz
chromium_src-af2ae52b8f5ec53e1ba1b4593368cd66f59c3a4d.tar.bz2
linux: eliminate some now-redundant code
We removed the label, but not the stuff that was positioning the label. Review URL: http://codereview.chromium.org/657076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39876 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/gtk/options/content_page_gtk.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc
index 18ea8c2..cc6b73f 100644
--- a/chrome/browser/gtk/options/content_page_gtk.cc
+++ b/chrome/browser/gtk/options/content_page_gtk.cc
@@ -252,20 +252,16 @@ GtkWidget* ContentPageGtk::InitFormAutofillGroup() {
}
GtkWidget* ContentPageGtk::InitBrowsingDataGroup() {
- GtkWidget* vbox = gtk_vbox_new(FALSE, gtk_util::kControlSpacing);
-
- // Horizontal two button layout.
- GtkWidget* button_hbox = gtk_hbox_new(FALSE, gtk_util::kControlSpacing);
- gtk_container_add(GTK_CONTAINER(vbox), button_hbox);
+ GtkWidget* button_box = gtk_hbox_new(FALSE, gtk_util::kControlSpacing);
// Import button.
GtkWidget* import_button = gtk_button_new_with_label(
l10n_util::GetStringUTF8(IDS_OPTIONS_IMPORT_DATA_BUTTON).c_str());
g_signal_connect(import_button, "clicked",
G_CALLBACK(OnImportButtonClicked), this);
- gtk_box_pack_start(GTK_BOX(button_hbox), import_button, FALSE, FALSE, 0);
+ gtk_box_pack_start(GTK_BOX(button_box), import_button, FALSE, FALSE, 0);
- return vbox;
+ return button_box;
}
GtkWidget* ContentPageGtk::InitThemesGroup() {