aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-16 22:21:23 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-16 22:21:23 +0800
commitfc8b2f38ec97eaeb1090c5c4fa10318fa573a76d (patch)
treea80f131e5c485fb7d4109b61162983d6b8437193 /embed/mozilla/mozilla-embed.cpp
parent1d8df1dcd8dd809ab8d9936e9a682e0c8e62faee (diff)
downloadgsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar
gsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar.gz
gsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar.bz2
gsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar.lz
gsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar.xz
gsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar.zst
gsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.zip
Add a way to show the cert info dialogue for the page's certificate.
2004-11-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_show_page_certificate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add a way to show the cert info dialogue for the page's certificate.
Diffstat (limited to 'embed/mozilla/mozilla-embed.cpp')
-rw-r--r--embed/mozilla/mozilla-embed.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index c00fc26ab..dcd07d816 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -653,6 +653,14 @@ impl_get_security_level (EphyEmbed *embed,
}
static void
+impl_show_page_certificate (EphyEmbed *embed)
+{
+ MozillaEmbedPrivate *mpriv = MOZILLA_EMBED (embed)->priv;
+
+ mpriv->browser->ShowCertificate ();
+}
+
+static void
impl_print (EphyEmbed *embed)
{
MozillaEmbedPrivate *mpriv = MOZILLA_EMBED(embed)->priv;
@@ -1143,6 +1151,7 @@ ephy_embed_iface_init (EphyEmbedIface *iface)
iface->shistory_get_pos = impl_shistory_get_pos;
iface->shistory_go_nth = impl_shistory_go_nth;
iface->get_security_level = impl_get_security_level;
+ iface->show_page_certificate = impl_show_page_certificate;
iface->find_next = impl_find_next;
iface->activate = impl_activate;
iface->find_set_properties = impl_find_set_properties;