diff options
author | Marvin W <git@larma.de> | 2017-03-11 01:25:45 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2017-03-11 02:04:38 +0100 |
commit | 4c48bdc07291f55d7320721a5b0a29c092f7daa0 (patch) | |
tree | 2b7debd52adbbf25ebceb2721014e5dc6c61679f /libdino/src/ui/conversation_summary | |
parent | 1ccad732b9a783d8f0140373602b7c1b84d04198 (diff) | |
download | dino-4c48bdc07291f55d7320721a5b0a29c092f7daa0.tar.gz dino-4c48bdc07291f55d7320721a5b0a29c092f7daa0.zip |
Improve Plugin API (allow to move encryption into plugin)
Diffstat (limited to 'libdino/src/ui/conversation_summary')
-rw-r--r-- | libdino/src/ui/conversation_summary/merged_message_item.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/ui/conversation_summary/merged_message_item.vala b/libdino/src/ui/conversation_summary/merged_message_item.vala index 4957b1a6..fa198d21 100644 --- a/libdino/src/ui/conversation_summary/merged_message_item.vala +++ b/libdino/src/ui/conversation_summary/merged_message_item.vala @@ -33,7 +33,7 @@ public class MergedMessageItem : Grid { string display_name = Util.get_message_display_name(stream_interactor, message, conversation.account); name_label.set_markup(@"<span foreground=\"#$(Util.get_name_hex_color(display_name))\">$display_name</span>"); Util.image_set_from_scaled_pixbuf(image, (new AvatarGenerator(30, 30, image.scale_factor)).draw_message(stream_interactor, message)); - if (message.encryption == Entities.Message.Encryption.PGP) { + if (message.encryption != Encryption.NONE) { encryption_image.visible = true; encryption_image.set_from_icon_name("changes-prevent-symbolic", IconSize.SMALL_TOOLBAR); } |