Add tooltips to the delivered and read icons (#1341)

This commit is contained in:
Prashant Kumar 2023-01-31 03:49:53 +05:30 committed by GitHub
parent b0b81b88c6
commit e3c833bce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);