aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorPrashant Kumar <85553100+iampkumar02@users.noreply.github.com>2023-01-31 03:49:53 +0530
committerGitHub <noreply@github.com>2023-01-30 23:19:53 +0100
commite3c833bce0713e9a0290841306c7727dfc1e3860 (patch)
tree3b38c57d6caf7c731821b66696587d862529271e /main/src
parentb0b81b88c6948dcfd2b1b82a9fe7357316a3af1f (diff)
downloaddino-e3c833bce0713e9a0290841306c7727dfc1e3860.tar.gz
dino-e3c833bce0713e9a0290841306c7727dfc1e3860.zip
Add tooltips to the delivered and read icons (#1341)
Diffstat (limited to 'main/src')
-rw-r--r--main/src/ui/conversation_content_view/conversation_item_skeleton.vala10
1 files changed, 8 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 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);