aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-05-13 02:04:58 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-05-13 02:04:58 +0800
commit1044f92a19ab225a74e7829561cfe1733aee6913 (patch)
tree21350a323dbc696acfbfc7ffbae8b0eff9faeac7 /embed/mozilla/MozRegisterComponents.cpp
parent125882e6f5591567b75b377a89b4127ed7c55f6e (diff)
downloadgsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.gz
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.bz2
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.lz
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.xz
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.tar.zst
gsoc2013-epiphany-1044f92a19ab225a74e7829561cfe1733aee6913.zip
Use new gnome vfs show_url api.
2003-05-12 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Use new gnome vfs show_url api. * embed/mozilla/MozRegisterComponents.cpp: Register external protocols ! * embed/mozilla/mozilla-embed-single.cpp: Check that the ftp handler is not epiphany, to avoid infinite loop.
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index e35a88d3a..cd68b8c4d 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -48,9 +48,16 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(MozGlobalHistory)
NS_GENERIC_FACTORY_CONSTRUCTOR(GPrintingPromptService)
NS_GENERIC_FACTORY_CONSTRUCTOR(GIRCProtocolHandler)
NS_GENERIC_FACTORY_CONSTRUCTOR(GFtpProtocolHandler)
+NS_GENERIC_FACTORY_CONSTRUCTOR(GExternalProtocolService)
static const nsModuleComponentInfo sAppComps[] = {
{
+ G_EXTERNALPROTOCOLSERVICE_CLASSNAME,
+ G_EXTERNALPROTOCOLSERVICE_CID,
+ NS_EXTERNALPROTOCOLSERVICE_CONTRACTID,
+ GExternalProtocolServiceConstructor
+ },
+ {
G_PROGRESSDIALOG_CLASSNAME,
G_PROGRESSDIALOG_CID,
G_PROGRESSDIALOG_CONTRACTID,