From e3c833bce0713e9a0290841306c7727dfc1e3860 Mon Sep 17 00:00:00 2001 From: Prashant Kumar <85553100+iampkumar02@users.noreply.github.com> Date: Tue, 31 Jan 2023 03:49:53 +0530 Subject: Add tooltips to the delivered and read icons (#1341) --- .../conversation_content_view/conversation_item_skeleton.vala | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'main') 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 3a68c9dc..bd3b8555 100644 --- a/main/src/ui/conversation_content_view/conversation_item_skeleton.vala +++ b/main/src/ui/conversation_content_view/conversation_item_skeleton.vala @@ -186,8 +186,14 @@ public class ConversationItemSkeleton : Plugins.ConversationItemWidgetInterface, private void update_received_mark() { switch (content_meta_item.mark) { - case Message.Marked.RECEIVED: received_image.icon_name = "dino-tick-symbolic"; break; - case Message.Marked.READ: received_image.icon_name = "dino-double-tick-symbolic"; break; + case Message.Marked.RECEIVED: + received_image.icon_name = "dino-tick-symbolic"; + received_image.tooltip_text = Util.string_if_tooltips_active(_("Delivered")); + break; + case Message.Marked.READ: + received_image.icon_name = "dino-double-tick-symbolic"; + received_image.tooltip_text = Util.string_if_tooltips_active(_("Read")); + break; case Message.Marked.WONTSEND: received_image.icon_name = "dialog-warning-symbolic"; Util.force_error_color(received_image); -- cgit v1.2.3-70-g09d2