aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-find.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-16 06:22:31 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-16 06:22:31 +0800
commit0cba580858576aba1d4f2b4480e91dc3570c8d62 (patch)
tree43678464382a6fe9f188a82f58cb5054d479feac /embed/ephy-embed-find.h
parent02250ba19947aab8a099d2890649768e90ff3009 (diff)
downloadgsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.tar
gsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.tar.gz
gsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.tar.bz2
gsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.tar.lz
gsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.tar.xz
gsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.tar.zst
gsoc2013-epiphany-0cba580858576aba1d4f2b4480e91dc3570c8d62.zip
Activate the found link with a faked keypress event.
2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_activate_link): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: Activate the found link with a faked keypress event. * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close): On enter, activate the found link instead of finding the next occurrence. Always really give focus to the find bar, instead of faking keypresses in the find bar entry while focusing the embed. Fixes bug #307216, bug #311985, bug #312419.
Diffstat (limited to 'embed/ephy-embed-find.h')
-rw-r--r--embed/ephy-embed-find.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/embed/ephy-embed-find.h b/embed/ephy-embed-find.h
index 6dbabe7db..a601c9a4e 100644
--- a/embed/ephy-embed-find.h
+++ b/embed/ephy-embed-find.h
@@ -25,6 +25,7 @@
#include <glib.h>
#include "ephy-embed.h"
+#include <gdk/gdktypes.h>
G_BEGIN_DECLS
@@ -54,6 +55,8 @@ struct _EphyEmbedFindIface
gboolean links_only);
gboolean (* find_again) (EphyEmbedFind *find,
gboolean forward);
+ gboolean (* activate_link) (EphyEmbedFind *find,
+ GdkModifierType mask);
};
GType ephy_embed_find_get_type (void);
@@ -72,6 +75,9 @@ gboolean ephy_embed_find_find (EphyEmbedFind *find,
gboolean ephy_embed_find_find_again (EphyEmbedFind *find,
gboolean forward);
+gboolean ephy_embed_find_activate_link (EphyEmbedFind *find,
+ GdkModifierType mask);
+
G_END_DECLS
#endif