aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
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/ephy-embed.c
parent1d8df1dcd8dd809ab8d9936e9a682e0c8e62faee (diff)
downloadgsoc2013-epiphany-fc8b2f38ec97eaeb1090c5c4fa10318fa573a76d.tar.gz
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/ephy-embed.c')
-rw-r--r--embed/ephy-embed.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 472d6f718..a8476cd5c 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -667,6 +667,19 @@ ephy_embed_get_security_level (EphyEmbed *embed,
EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
iface->get_security_level (embed, level, description);
}
+/**
+ * ephy_embed_show_page_certificate:
+ * @embed: an #EphyEmbed
+ *
+ * Shows a dialogue displaying the certificate of the currently loaded page
+ * of @embed, if it was loaded over a secure connection; else does nothing.
+ **/
+void
+ephy_embed_show_page_certificate (EphyEmbed *embed)
+{
+ EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
+ iface->show_page_certificate (embed);
+}
/**
* ephy_embed_find_set_properties: