aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-embed.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-11-17 01:02:49 +0800
committerChristian Persch <chpe@src.gnome.org>2004-11-17 01:02:49 +0800
commit863dbbd51155943debb458d19bdf7f946da909eb (patch)
treedb36c146e1bd9141387af9a486ba73cc051f9118 /embed/ephy-embed.c
parentdf3c864595f2eff8981c75a4a219e7b09800274b (diff)
downloadgsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.tar
gsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.tar.gz
gsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.tar.bz2
gsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.tar.lz
gsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.tar.xz
gsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.tar.zst
gsoc2013-epiphany-863dbbd51155943debb458d19bdf7f946da909eb.zip
Add ephy_embed_show_page_certificate () (merged from HEAD).
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 ephy_embed_show_page_certificate () (merged from HEAD).
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 36e87fa24..1deaea025 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -670,6 +670,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: