aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-18 02:41:29 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-18 02:41:29 +0800
commit5952680d6a09d98c301711e8188881f3a65a2e12 (patch)
treec0dfa32b7ba4c5a75b0ea4e8dee58603892a0fb8 /embed/mozilla/MozRegisterComponents.cpp
parent5f152449ad08cd5d2d77e052aff3c40cf8ce5b9d (diff)
downloadgsoc2013-epiphany-5952680d6a09d98c301711e8188881f3a65a2e12.tar.gz
gsoc2013-epiphany-5952680d6a09d98c301711e8188881f3a65a2e12.tar.zst
gsoc2013-epiphany-5952680d6a09d98c301711e8188881f3a65a2e12.zip
Ported the Crispin's GtkNSSClientAuthDialogs from galeon. Changes: - use
2003-11-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/ephy-state.c: (ephy_state_add_paned), (expander_activate_cb), (ephy_state_add_expander): * lib/ephy-state.h: Ported the Crispin's GtkNSSClientAuthDialogs from galeon. Changes: - use GtkExpander instead of the CDDB disclosure thingy - persist state in ephy-state - assing a mnemonic to expander label.
Diffstat (limited to 'embed/mozilla/MozRegisterComponents.cpp')
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 6718d3056..b359a7b9f 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -30,6 +30,7 @@
#include "EphyAboutRedirector.h"
#ifdef HAVE_MOZILLA_PSM
+#include "GtkNSSClientAuthDialogs.h"
#include "GtkNSSDialogs.h"
#include "GtkNSSKeyPairDialogs.h"
#endif
@@ -53,6 +54,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(GNewsProtocolHandler)
NS_GENERIC_FACTORY_CONSTRUCTOR(GExternalProtocolService)
#ifdef HAVE_MOZILLA_PSM
+NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSClientAuthDialogs)
NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSDialogs)
NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSKeyPairDialogs)
#endif
@@ -78,6 +80,12 @@ static const nsModuleComponentInfo sAppComps[] = {
},
#ifdef HAVE_MOZILLA_PSM
{
+ GTK_NSSCLIENTAUTHDIALOGS_CLASSNAME,
+ GTK_NSSCLIENTAUTHDIALOGS_CID,
+ NS_CLIENTAUTHDIALOGS_CONTRACTID,
+ GtkNSSClientAuthDialogsConstructor
+ },
+ {
GTK_NSSDIALOGS_CLASSNAME,
GTK_NSSDIALOGS_CID,
NS_BADCERTLISTENER_CONTRACTID,