aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed-single.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-21 03:12:19 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-21 03:12:19 +0800
commite464015f47f6d575f5db02d851d7ea4b88278e34 (patch)
treebd44d70a7826306430e185dcddd352472a738b67 /embed/ephy-embed-single.c
parent70c88252fb1eb732104f1523a5515bf556a3438c (diff)
downloadgsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.tar
gsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.tar.gz
gsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.tar.bz2
gsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.tar.lz
gsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.tar.xz
gsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.tar.zst
gsoc2013-epiphany-e464015f47f6d575f5db02d851d7ea4b88278e34.zip
Implement an handle_content signal to allow to write plugins to support
2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * lib/ephy-marshal.list: Implement an handle_content signal to allow to write plugins to support external download managers.
Diffstat (limited to 'embed/ephy-embed-single.c')
-rw-r--r--embed/ephy-embed-single.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 359b33069..e5bfd0f65 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -82,6 +82,17 @@ ephy_embed_single_class_init (EphyEmbedSingleClass *klass)
parent_class = (GObjectClass *) g_type_class_peek_parent (klass);
+ g_signal_new ("handle_content",
+ EPHY_TYPE_EMBED_SINGLE,
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (EphyEmbedSingleClass, handle_content),
+ g_signal_accumulator_true_handled, NULL,
+ ephy_marshal_BOOLEAN__STRING_STRING,
+ G_TYPE_BOOLEAN,
+ 2,
+ G_TYPE_STRING,
+ G_TYPE_STRING);
+
g_type_class_add_private (object_class, sizeof(EphyEmbedSinglePrivate));
}