diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2024-02-18 19:52:40 +0100 |
---|---|---|
committer | Miquel Lionel <lionel@les-miquelots.net> | 2024-02-18 19:52:40 +0100 |
commit | f27385d952a7400902a58e67d02a6089e2de6289 (patch) | |
tree | 1f17c9502b4c14352dd6d41f2d747ac38f3b9705 /main/src/ui/conversation_content_view | |
parent | 4f950d401b2feb799b20e3231e6f09b892614a8c (diff) | |
download | dino-f27385d952a7400902a58e67d02a6089e2de6289.tar.gz dino-f27385d952a7400902a58e67d02a6089e2de6289.zip |
More noticeable encryption type color and encryption status
- added file changes-allow-symbolic from GTK Adwaita icon theme
as dino-unencrypted.svg (licensed under LGPL3)
Diffstat (limited to 'main/src/ui/conversation_content_view')
-rw-r--r-- | main/src/ui/conversation_content_view/conversation_item_skeleton.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala index 5c71d4fb..e4decccd 100644 --- a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala +++ b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala @@ -156,7 +156,7 @@ public class ConversationItemSkeleton : Plugins.ConversationItemWidgetInterface, encryption_image.visible = true; if (item.encryption == Encryption.OMEMO) { encryption_image.tooltip_text = Util.string_if_tooltips_active(_("This message is OMEMO encrypted.")); - Util.force_color(encryption_image, "#659E4F"); + Util.force_color(encryption_image, "#0AEC00"); } if (item.encryption == Encryption.PGP) { encryption_image.tooltip_text = Util.string_if_tooltips_active(_("This message is PGP encrypted.")); @@ -168,7 +168,7 @@ public class ConversationItemSkeleton : Plugins.ConversationItemWidgetInterface, if (conversation.encryption != Encryption.NONE) { encryption_image.icon_name = "changes-allow-symbolic"; encryption_image.tooltip_text = Util.string_if_tooltips_active(_("Unencrypted")); - Util.force_error_color(encryption_image); + Util.force_color(encryption_image, "#F02900"); encryption_image.visible = true; } else if (conversation.encryption == Encryption.NONE) { encryption_image.icon_name = null; |