aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozRegisterComponents.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-09 07:17:58 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-09 07:17:58 +0800
commit01c3079aa89f17eea022c0740a287855fbad786e (patch)
tree5f9c6db7d673738eb60ee19c2b331a80479935c8 /embed/mozilla/MozRegisterComponents.cpp
parent6e8ce69055a363b045a59f8f380e1aeedf54ebf4 (diff)
downloadgsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.tar
gsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.tar.gz
gsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.tar.bz2
gsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.tar.lz
gsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.tar.xz
gsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.tar.zst
gsoc2013-epiphany-01c3079aa89f17eea022c0740a287855fbad786e.zip
Override the default security warning dialogues implementation with our
2005-01-09 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Override the default security warning dialogues implementation with our own class which follows HIG and our interface design. Fixes bug #163371. Also show the entering-secure dialogue once, to inform about the lock icon in the statusbar.
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 7d8b3223d..8dd86b6ee 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -38,6 +38,7 @@
#include "GtkNSSClientAuthDialogs.h"
#include "GtkNSSDialogs.h"
#include "GtkNSSKeyPairDialogs.h"
+#include "GtkNSSSecurityWarningDialogs.h"
#endif
#include <nsMemory.h>
@@ -66,6 +67,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(GFilePicker)
NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSClientAuthDialogs)
NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSDialogs)
NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSKeyPairDialogs)
+NS_GENERIC_FACTORY_CONSTRUCTOR(GtkNSSSecurityWarningDialogs)
#endif
static NS_METHOD
@@ -142,6 +144,12 @@ static const nsModuleComponentInfo sAppComps[] = {
NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID,
GtkNSSKeyPairDialogsConstructor
},
+ {
+ GTK_NSSSECURITYWARNINGDIALOGS_CLASSNAME,
+ GTK_NSSSECURITYWARNINGDIALOGS_CID,
+ NS_SECURITYWARNINGDIALOGS_CONTRACTID,
+ GtkNSSSecurityWarningDialogsConstructor
+ },
#endif
{
NS_IHELPERAPPLAUNCHERDLG_CLASSNAME,