aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Hand <samuel.hand@openmailbox.org>2018-08-11 15:54:14 +0100
committerSamuel Hand <samuel.hand@openmailbox.org>2018-08-11 15:54:14 +0100
commit9b984289966cc6c29f5ce14daa76de1a380a42cd (patch)
tree5f0e668172e10108fbaa06bdbdc8fdace566622f
parent72cb5b4f90da59d5ec4660eca0e6d80e4669a49a (diff)
downloaddino-9b984289966cc6c29f5ce14daa76de1a380a42cd.tar.gz
dino-9b984289966cc6c29f5ce14daa76de1a380a42cd.zip
Un-dim fingerprint when accepting keys
-rw-r--r--plugins/omemo/src/contact_details_dialog.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/omemo/src/contact_details_dialog.vala b/plugins/omemo/src/contact_details_dialog.vala
index baefe564..006e95f1 100644
--- a/plugins/omemo/src/contact_details_dialog.vala
+++ b/plugins/omemo/src/contact_details_dialog.vala
@@ -106,6 +106,7 @@ public class ContactDetailsDialog : Gtk.Dialog {
case Database.IdentityMetaTable.TrustLevel.TRUSTED:
img.icon_name = "emblem-ok-symbolic";
status_lbl.set_markup("<span color='#1A63D9'>%s</span>".printf(_("Accepted")));
+ lbl.get_style_context().remove_class("dim-label");
break;
case Database.IdentityMetaTable.TrustLevel.UNTRUSTED:
img.icon_name = "action-unavailable-symbolic";
@@ -115,6 +116,7 @@ public class ContactDetailsDialog : Gtk.Dialog {
case Database.IdentityMetaTable.TrustLevel.VERIFIED:
img.icon_name = "security-high-symbolic";
status_lbl.set_markup("<span color='#1A63D9'>%s</span>".printf(_("Verified")));
+ lbl.get_style_context().remove_class("dim-label");
break;
}