mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-22 06:54:29 +00:00
Add tooltips to the delivered and read icons (#1341)
This commit is contained in:
parent
b0b81b88c6
commit
e3c833bce0
1 changed files with 8 additions and 2 deletions
|
@ -186,8 +186,14 @@ public class ConversationItemSkeleton : Plugins.ConversationItemWidgetInterface,
|
||||||
|
|
||||||
private void update_received_mark() {
|
private void update_received_mark() {
|
||||||
switch (content_meta_item.mark) {
|
switch (content_meta_item.mark) {
|
||||||
case Message.Marked.RECEIVED: received_image.icon_name = "dino-tick-symbolic"; break;
|
case Message.Marked.RECEIVED:
|
||||||
case Message.Marked.READ: received_image.icon_name = "dino-double-tick-symbolic"; break;
|
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:
|
case Message.Marked.WONTSEND:
|
||||||
received_image.icon_name = "dialog-warning-symbolic";
|
received_image.icon_name = "dialog-warning-symbolic";
|
||||||
Util.force_error_color(received_image);
|
Util.force_error_color(received_image);
|
||||||
|
|
Loading…
Reference in a new issue