aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-02-15 04:57:08 +0800
committerChristian Persch <chpe@src.gnome.org>2005-02-15 04:57:08 +0800
commitef7614362de89dbf7ebcfbe18bc1284754f17164 (patch)
tree141cefc47787ba88f82d871d0eaf3dc2fb0631f1 /embed/ephy-embed-single.c
parent8393fcfb76309e11471481c922b9fc4ce666fdc9 (diff)
downloadgsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.tar
gsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.tar.gz
gsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.tar.bz2
gsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.tar.lz
gsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.tar.xz
gsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.tar.zst
gsoc2013-epiphany-ef7614362de89dbf7ebcfbe18bc1284754f17164.zip
Emit a signal in EphySidebar::AddSearchEngine.
2005-02-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/mozilla/EphySidebar.cpp: * lib/ephy-marshal.list: Emit a signal in EphySidebar::AddSearchEngine.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 0b05dc876..c2138a189 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -141,6 +141,28 @@ ephy_embed_single_iface_init (gpointer g_class)
G_TYPE_STRING);
/**
+ * EphyEmbedSingle::add-search-engine
+ * @single:
+ * @url: The url of the search engine definition file
+ * @icon_url: The url of the icon to use for this engine
+ * @title: The title of the search engine to be added
+ *
+ * The ::add-search-engine signal is emitted when the user clicks a javascript link that
+ * requests adding a search engine to the sidebar.
+ **/
+ g_signal_new ("add-search-engine",
+ EPHY_TYPE_EMBED_SINGLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (EphyEmbedSingleIface, add_search_engine),
+ g_signal_accumulator_true_handled, NULL,
+ ephy_marshal_BOOLEAN__STRING_STRING_STRING,
+ G_TYPE_BOOLEAN,
+ 3,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
+/**
* EphyEmbedSingle::check_content:
* @single: the #EphyEmbedSingle
* @type: the type of content (an #EphyContentCheckType)