diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 20:41:17 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-28 20:41:17 +0000 |
commit | 2e6707f57abfe9a98bf5d9c931defc2efd12e483 (patch) | |
tree | bedfdf48d3659b809bcb322f0dba0f356b381955 /chrome/browser/gtk | |
parent | fb48b6ef0bda9be8103fe6080837f488e219b89a (diff) | |
download | chromium_src-2e6707f57abfe9a98bf5d9c931defc2efd12e483.zip chromium_src-2e6707f57abfe9a98bf5d9c931defc2efd12e483.tar.gz chromium_src-2e6707f57abfe9a98bf5d9c931defc2efd12e483.tar.bz2 |
linux: extra shadow in prefs dialog
When we use gtk_scrolled_window_add_with_viewport, it sets its own
shadow.
BUG=16913
Review URL: http://codereview.chromium.org/159535
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r-- | chrome/browser/gtk/options/advanced_page_gtk.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/gtk/options/advanced_page_gtk.cc b/chrome/browser/gtk/options/advanced_page_gtk.cc index 65a93ad..517669a 100644 --- a/chrome/browser/gtk/options/advanced_page_gtk.cc +++ b/chrome/browser/gtk/options/advanced_page_gtk.cc @@ -29,8 +29,9 @@ void AdvancedPageGtk::Init() { gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll_window), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); - gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scroll_window), - GTK_SHADOW_ETCHED_IN); + // Note that typically we call gtk_scrolled_window_set_shadow_type right + // here, but the add_with_viewport method of GtkScrolledWindow already adds + // its own shadow. gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll_window), advanced_contents_.get_page_widget()); |