aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-02-18 02:20:39 +0800
committerXan Lopez <xan@src.gnome.org>2008-02-18 02:20:39 +0800
commit861720c0698e978b8278ab17f003c297f44beff4 (patch)
treee70e9ce25658814f8054f19f729cf72328d51e3a /embed/mozilla/mozilla-embed.cpp
parent8b6ad442626717a523b284720ba2545cbeb84181 (diff)
downloadgsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.tar
gsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.tar.gz
gsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.tar.bz2
gsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.tar.lz
gsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.tar.xz
gsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.tar.zst
gsoc2013-epiphany-861720c0698e978b8278ab17f003c297f44beff4.zip
Add ephy-embed::new-document-now signal, does the same than old
ge-content-change (used by adblock extension). Part of #502283 svn path=/trunk/; revision=7959
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index 77d11b224..dfa3c23a1 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -970,6 +970,7 @@ update_load_state (MozillaEmbed *membed, gint state)
char *address;
address = gtk_moz_embed_get_location (moz_embed);
+ g_signal_emit_by_name (membed, "new-document-now", address);
ephy_base_embed_popups_manager_reset (EPHY_BASE_EMBED (membed));
ephy_base_embed_restore_zoom_level (EPHY_BASE_EMBED (membed), address);
g_free (address);