diff options
author | Eric Butler <eric@extremeboredom.net> | 2006-12-18 03:17:36 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-12-18 03:17:36 +0800 |
commit | f509a34254a254348465dbe018c6ee9db081193e (patch) | |
tree | f6ce0dbc582fa603779bf6fc055a876f9b082bf3 /embed/ephy-embed.c | |
parent | 25a74360022714d8dcb51b1c306069255da92079 (diff) | |
download | gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.tar gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.tar.gz gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.tar.bz2 gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.tar.lz gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.tar.xz gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.tar.zst gsoc2013-epiphany-f509a34254a254348465dbe018c6ee9db081193e.zip |
Add search_link entry to _EphyEmbedIface
2006-12-17 Eric Butler <eric@extremeboredom.net>
* src/ephy-embed.h:
Add search_link entry to _EphyEmbedIface
* src/ephy-embed.c:
Add ge-search-link signal
* embed/mozilla/EphyBrowser.cs:
Fire ge-search-link signal for opensearch tags
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 4cc5d7f30..53f3ce3cd 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -132,6 +132,28 @@ ephy_embed_base_init (gpointer g_class) 1, G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE); /** + * EphyEmbed::ge-search-link: + * @embed: + * @type: the mime-type of the search description + * @title: the title of the news feed + * @address: the URL to @embed's web site's search description + * + * The ::ge_rss signal is emitted when @embed discovers that a search + * description is available for the site it is visiting. + **/ + g_signal_new ("ge_search_link", + EPHY_TYPE_EMBED, + G_SIGNAL_RUN_FIRST, + G_STRUCT_OFFSET (EphyEmbedIface, search_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-feed-link: * @embed: * @type: the mime-type of the news feed |