aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@.gnome.org>2003-08-19 06:42:39 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-08-19 06:42:39 +0800
commit27b3a31636135db43034b5cbebb996e4b6d86db2 (patch)
treeb6f4e78bee4ef9ca5ba5382aa89607bdfe86162a /embed/ephy-embed.c
parent55ae859da0c35cc1cabbb68eb8bd343344bad3c9 (diff)
downloadgsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.tar
gsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.tar.gz
gsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.tar.bz2
gsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.tar.lz
gsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.tar.xz
gsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.tar.zst
gsoc2013-epiphany-27b3a31636135db43034b5cbebb996e4b6d86db2.zip
Add activate api.
2003-08-19 Marco Pesenti Gritti <marco@.gnome.org> * embed/ephy-embed.c: (ephy_embed_activate): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Add activate api. * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Activate on navigation commands. It seem like a better beahvior and it avoid some mozilla focus craziness.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index f9bf0dc7b..48e9cdcf3 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -558,6 +558,13 @@ ephy_embed_find_next (EphyEmbed *embed,
}
gresult
+ephy_embed_activate (EphyEmbed *embed)
+{
+ EphyEmbedClass *klass = EPHY_EMBED_GET_CLASS (embed);
+ return klass->activate (embed);
+}
+
+gresult
ephy_embed_set_encoding (EphyEmbed *embed,
const char *encoding)
{