diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-16 06:38:43 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-16 06:38:43 +0800 |
commit | 18cb6c805fc57c21b173725e3a334a135e32e16e (patch) | |
tree | 016d54d3f48238e7621ddc401ae8b0b100a755b5 /src | |
parent | 2e0acbe78c7963db8c34e6c66c899751a8bc3d83 (diff) | |
download | gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.gz gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.bz2 gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.lz gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.xz gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.tar.zst gsoc2013-epiphany-18cb6c805fc57c21b173725e3a334a135e32e16e.zip |
Return TRUE if the event was consumed.
2005-08-16 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyFind.cpp:
Return TRUE if the event was consumed.
* embed/mozilla/mozilla-embed-single.cpp:
More redundant code.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-find-toolbar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c index 59eee34c2..ac435ebf4 100644 --- a/src/ephy-find-toolbar.c +++ b/src/ephy-find-toolbar.c @@ -284,12 +284,14 @@ entry_changed_cb (GtkEntry *entry, set_controls (toolbar, found, found); } +#ifdef FIND_WHILE_TYPING_IN_EMBED static void entry_preedit_changed_cb (GtkIMContext *context, EphyFindToolbar *toolbar) { toolbar->priv->preedit_changed = TRUE; } +#endif static gboolean entry_key_press_event_cb (GtkEntry *entry, @@ -458,8 +460,10 @@ ephy_find_toolbar_init (EphyFindToolbar *toolbar) G_CALLBACK (entry_key_press_event_cb), toolbar); g_signal_connect_after (priv->entry, "changed", G_CALLBACK (entry_changed_cb), toolbar); +#ifdef FIND_WHILE_TYPING_IN_EMBED g_signal_connect (GTK_ENTRY (priv->entry)->im_context, "preedit-changed", G_CALLBACK (entry_preedit_changed_cb), toolbar); +#endif g_signal_connect (priv->entry, "activate", G_CALLBACK (entry_activate_cb), toolbar); g_signal_connect_swapped (priv->next, "clicked", |