diff options
author | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-02 02:28:02 +0000 |
---|---|---|
committer | suzhe@chromium.org <suzhe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-02 02:28:02 +0000 |
commit | ce716d859764f7a6e8ea0c79bbcd445d856f4da0 (patch) | |
tree | 24a897e8f6fd17efb7e68813859bc4524473430f /chrome/browser/gtk/find_bar_gtk.cc | |
parent | c21a502e9a25710f456e6240fc3455d8a98713d0 (diff) | |
download | chromium_src-ce716d859764f7a6e8ea0c79bbcd445d856f4da0.zip chromium_src-ce716d859764f7a6e8ea0c79bbcd445d856f4da0.tar.gz chromium_src-ce716d859764f7a6e8ea0c79bbcd445d856f4da0.tar.bz2 |
[Linux] Allows find bar's GtkEntry to handle the key events first.
BUG=32384: IME within search box doesn't accept text properly
TEST=See the bug report.
Review URL: http://codereview.chromium.org/560006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/find_bar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/find_bar_gtk.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc index 56dc7cc..114dcbb 100644 --- a/chrome/browser/gtk/find_bar_gtk.cc +++ b/chrome/browser/gtk/find_bar_gtk.cc @@ -180,10 +180,10 @@ FindBarGtk::FindBarGtk(Browser* browser) // widget will be realized. g_signal_connect(text_entry_, "changed", G_CALLBACK(OnChanged), this); - g_signal_connect(text_entry_, "key-press-event", - G_CALLBACK(OnKeyPressEvent), this); - g_signal_connect(text_entry_, "key-release-event", - G_CALLBACK(OnKeyReleaseEvent), this); + g_signal_connect_after(text_entry_, "key-press-event", + G_CALLBACK(OnKeyPressEvent), this); + g_signal_connect_after(text_entry_, "key-release-event", + G_CALLBACK(OnKeyReleaseEvent), this); // When the user tabs to us or clicks on us, save where the focus used to // be. g_signal_connect(text_entry_, "focus", |