diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-09-19 19:48:35 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-09-19 19:48:35 +0800 |
commit | a5847dd37c91a495db614312d4a5bd719d074991 (patch) | |
tree | aafb78236e26f757a7d92c34c2ceff7b98a22cae /embed/mozilla/MozRegisterComponents.cpp | |
parent | 741ded15967b19b78879bcc9e8f172895eb984ff (diff) | |
download | gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.tar gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.tar.gz gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.tar.bz2 gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.tar.lz gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.tar.xz gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.tar.zst gsoc2013-epiphany-a5847dd37c91a495db614312d4a5bd719d074991.zip |
embed/mozilla/MozRegisterComponents.cpp A embed/mozilla/GtkNSSDialogs.cpp
2003-09-19 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/MozRegisterComponents.cpp
A embed/mozilla/GtkNSSDialogs.cpp
A embed/mozilla/GtkNSSDialogs.h
* embed/mozilla/Makefile.am
* configure.in:
Implement Gtk versions of the mozilla certificate prompts.
Ported from galeon -- many thanks to Crispin for this excellent work!
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r-- | embed/mozilla/MozRegisterComponents.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp index d6e79f697..29079aff2 100644 --- a/embed/mozilla/MozRegisterComponents.cpp +++ b/embed/mozilla/MozRegisterComponents.cpp @@ -29,6 +29,10 @@ #include "ExternalProtocolService.h" #include "EphyAboutRedirector.h" +#ifdef HAVE_MOZILLA_PSM +#include "GtkNSSDialogs.h" +#endif + #include <nsIGenericFactory.h> #include <nsIComponentRegistrar.h> #include <nsCOMPtr.h> @@ -47,6 +51,10 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(GFtpProtocolHandler) NS_GENERIC_FACTORY_CONSTRUCTOR(GNewsProtocolHandler) NS_GENERIC_FACTORY_CONSTRUCTOR(GExternalProtocolService) +#ifdef HAVE_MOZILLA_PSM +NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSDialogs) +#endif + static const nsModuleComponentInfo sAppComps[] = { { G_EXTERNALPROTOCOLSERVICE_CLASSNAME, @@ -72,6 +80,14 @@ static const nsModuleComponentInfo sAppComps[] = { G_FILEPICKER_CONTRACTID, GFilePickerConstructor }, +#ifdef HAVE_MOZILLA_PSM + { + GTK_NSSDIALOGS_CLASSNAME, + GTK_NSSDIALOGS_CID, + NS_BADCERTLISTENER_CONTRACTID, + GtkNSSDialogsConstructor + }, +#endif { NS_IHELPERAPPLAUNCHERDLG_CLASSNAME, G_CONTENTHANDLER_CID, |