summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/options/content_page_gtk.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 20:56:04 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 20:56:04 +0000
commit9b408277e43bbfd963404e4babf0447de24e9b96 (patch)
tree150c2730047f1355036d691a12b8c35533ef142d /chrome/browser/gtk/options/content_page_gtk.cc
parent14690295cad9266c1c17d202dcd8239f03c48785 (diff)
downloadchromium_src-9b408277e43bbfd963404e4babf0447de24e9b96.zip
chromium_src-9b408277e43bbfd963404e4babf0447de24e9b96.tar.gz
chromium_src-9b408277e43bbfd963404e4babf0447de24e9b96.tar.bz2
GTK: Don't show the GTK theme button on chromeos.
Review URL: http://codereview.chromium.org/193088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26007 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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc
index 32da520..14892f4 100644
--- a/chrome/browser/gtk/options/content_page_gtk.cc
+++ b/chrome/browser/gtk/options/content_page_gtk.cc
@@ -194,12 +194,14 @@ GtkWidget* ContentPageGtk::InitThemesGroup() {
gtk_box_pack_start(GTK_BOX(vbox), system_title_bar_checkbox_,
FALSE, FALSE, 0);
+#if defined(TOOLKIT_GTK)
// GTK theme button.
GtkWidget* gtk_theme_button = gtk_button_new_with_label(
l10n_util::GetStringUTF8(IDS_THEMES_GTK_BUTTON).c_str());
g_signal_connect(G_OBJECT(gtk_theme_button), "clicked",
G_CALLBACK(OnGtkThemeButtonClicked), this);
gtk_box_pack_start(GTK_BOX(hbox), gtk_theme_button, FALSE, FALSE, 0);
+#endif
// Reset theme button.
GtkWidget* themes_reset_button = gtk_button_new_with_label(