diff options
Diffstat (limited to 'plugins/openpgp')
-rw-r--r-- | plugins/openpgp/src/encryption_list_entry.vala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/openpgp/src/encryption_list_entry.vala b/plugins/openpgp/src/encryption_list_entry.vala index 5b89ec1c..4169a2a2 100644 --- a/plugins/openpgp/src/encryption_list_entry.vala +++ b/plugins/openpgp/src/encryption_list_entry.vala @@ -1,4 +1,5 @@ using Gee; +using Gtk; using Dino.Entities; using Xmpp; @@ -23,6 +24,12 @@ private class EncryptionListEntry : Plugins.EncryptionListEntry, Object { return "OpenPGP"; }} + public static IconSize ICON_SIZE_HEADER = Gtk.icon_size_register("im.dino.Dino.HEADER_ICON3", 17, 12); + + public Object? get_encryption_icon(Entities.Conversation conversation, ContentItem content_item) { + return null; + } + public void encryption_activated(Entities.Conversation conversation, Plugins.SetInputFieldStatus input_status_callback) { try { GPGHelper.get_public_key(db.get_account_key(conversation.account) ?? ""); |