summaryrefslogtreecommitdiff
path: root/lib/ephy-security-levels.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2015-02-05 19:39:36 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2015-12-09 11:58:28 +0100
commit759a59a00e5c798e11044264b2c1d4c90bfa865c (patch)
tree98fae7d2a3e0c328bebb3d30257571ff4ffeb5f1 /lib/ephy-security-levels.c
parent1c4e702a7efcf3d85973e97e5b1d1f54ff1834d7 (diff)
downloadepiphany-759a59a00e5c798e11044264b2c1d4c90bfa865c.tar.gz
Display insecure content warning on all insecure pages
We used to do this: * HTTP pages -> no security indicator * HTTPS pages with mixed content -> insecure warning icon * HTTPS pages with no mixed content -> secure lock icon Now we do this: * HTTP pages and HTTPS pages with mixed content -> insecure warning icon * HTTPS pages with no mixed content -> secure lock icon https://bugzilla.gnome.org/show_bug.cgi?id=744064
Diffstat (limited to 'lib/ephy-security-levels.c')
-rw-r--r--lib/ephy-security-levels.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/ephy-security-levels.c b/lib/ephy-security-levels.c
index d67949bf2..37c4fec51 100644
--- a/lib/ephy-security-levels.c
+++ b/lib/ephy-security-levels.c
@@ -33,14 +33,14 @@ ephy_security_level_to_icon_name (EphySecurityLevel level)
const char *result;
switch (level) {
- case EPHY_SECURITY_LEVEL_NO_SECURITY:
+ case EPHY_SECURITY_LEVEL_LOCAL_PAGE:
+ case EPHY_SECURITY_LEVEL_TO_BE_DETERMINED:
result = NULL;
break;
- case EPHY_SECURITY_LEVEL_BROKEN_SECURITY:
- result = "channel-insecure-symbolic";
- break;
+ case EPHY_SECURITY_LEVEL_NO_SECURITY:
case EPHY_SECURITY_LEVEL_MIXED_CONTENT:
- result = "dialog-warning-symbolic";
+ case EPHY_SECURITY_LEVEL_UNACCEPTABLE_CERTIFICATE:
+ result = "channel-insecure-symbolic";
break;
case EPHY_SECURITY_LEVEL_STRONG_SECURITY:
result = "channel-secure-symbolic";