aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-04-08 20:58:18 +0800
committerChristian Persch <chpe@src.gnome.org>2005-04-08 20:58:18 +0800
commit3ddeef804136e9f47f66c38c80d126a4285d525d (patch)
tree4af89e7a211ddad6b592066ad2d869f9eed03efe /embed/ephy-embed.c
parent07e28bd36e76b8122b2a84018a9764cdf6a1aac4 (diff)
downloadgsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar
gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.gz
gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.bz2
gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.lz
gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.xz
gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.tar.zst
gsoc2013-epiphany-3ddeef804136e9f47f66c38c80d126a4285d525d.zip
Emit signal when encountering alternate links. Fixes bug #171657.
2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * lib/ephy-marshal.list: Emit signal when encountering alternate links. Fixes bug #171657.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index a331c2ab4..c77dfb657 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -128,7 +128,28 @@ ephy_embed_base_init (gpointer g_class)
g_cclosure_marshal_VOID__STRING,
G_TYPE_NONE,
1,
- G_TYPE_STRING);
+ G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
+/**
+ * EphyEmbed::ge-feed-link:
+ * @embed:
+ * @type: the mime-type of the news feed
+ * @title: the title of the news feed
+ * @address: the URL to @embed's web site's news feed
+ *
+ * The ::ge_rss signal is emitted when @embed discovers that a news feed
+ * is available for the site it is visiting.
+ **/
+ g_signal_new ("ge_feed_link",
+ EPHY_TYPE_EMBED,
+ G_SIGNAL_RUN_FIRST,
+ G_STRUCT_OFFSET (EphyEmbedIface, feed_link),
+ NULL, NULL,
+ ephy_marshal_VOID__STRING_STRING_STRING,
+ G_TYPE_NONE,
+ 3,
+ G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
+ G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
+ G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE);
/**
* EphyEmbed::ge-location:
* @embed: