diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 21:24:14 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 21:24:14 +0000 |
commit | c446df87a5ef779513c12aa17486a36ef9678935 (patch) | |
tree | bb0838dd7153f06badebb1d958190f2058797b4d /chrome | |
parent | bc7d32ae2f283be26dd9b5b81d9fa53b39ec5aad (diff) | |
download | chromium_src-c446df87a5ef779513c12aa17486a36ef9678935.zip chromium_src-c446df87a5ef779513c12aa17486a36ef9678935.tar.gz chromium_src-c446df87a5ef779513c12aa17486a36ef9678935.tar.bz2 |
Raise the find bar window every time it's shown via Show().
(It shouldn't be necessary to raise it when it's shown via SetDialogPosition().)
BUG=11515
Review URL: http://codereview.chromium.org/113055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15461 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index a7effc6..5c2e571 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -172,6 +172,8 @@ GtkWidget* FindBarGtk::slide_widget() { } void FindBarGtk::Show() { + if (container_->window) + gdk_window_raise(container_->window); gtk_widget_grab_focus(find_text_); slide_widget_->Open(); } |