summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 21:15:08 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-02 21:15:08 +0000
commit618fadec2d3b39af74e588d7ce6537adf9ef5dc8 (patch)
tree82dd85b9e66c72f18308ba41fc5fc2adf30acfed
parentfac15c494ac3cacfcd905e8bc186ef212ad943e3 (diff)
downloadchromium_src-618fadec2d3b39af74e588d7ce6537adf9ef5dc8.zip
chromium_src-618fadec2d3b39af74e588d7ce6537adf9ef5dc8.tar.gz
chromium_src-618fadec2d3b39af74e588d7ce6537adf9ef5dc8.tar.bz2
GTK: bookmark bar - fix z order of find bar in certain situations
BUG=33220 TEST=see bug Review URL: http://codereview.chromium.org/567008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37876 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/bookmark_bar_gtk.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/gtk/bookmark_bar_gtk.cc b/chrome/browser/gtk/bookmark_bar_gtk.cc
index cd82de8..87d8708 100644
--- a/chrome/browser/gtk/bookmark_bar_gtk.cc
+++ b/chrome/browser/gtk/bookmark_bar_gtk.cc
@@ -299,10 +299,15 @@ void BookmarkBarGtk::Show(bool animate) {
// Hide out behind the findbar. This is rather fragile code, it could
// probably be improved.
if (floating_) {
+ // This block is necessary for GTK+ theme mode.
if (GTK_WIDGET_REALIZED(event_box_->parent))
gdk_window_lower(event_box_->parent->window);
if (GTK_WIDGET_REALIZED(event_box_.get()))
gdk_window_lower(event_box_->window);
+
+ // This block is necessary for normal theme mode.
+ if (GTK_WIDGET_REALIZED(paint_box_))
+ gdk_window_lower(paint_box_->window);
}
if (sync_ui_util::ShouldShowSyncErrorButton(sync_service_)) {