From e8077ee3e9409aea9cda3d04b6363d49bcaa61b9 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 21 Jul 2026 17:47:35 +0200 Subject: Stop injecting custom CSS providers --- main/src/ui/conversation_content_view/message_widget.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'main/src/ui/conversation_content_view/message_widget.vala') diff --git a/main/src/ui/conversation_content_view/message_widget.vala b/main/src/ui/conversation_content_view/message_widget.vala index 7d441657..25d3775b 100644 --- a/main/src/ui/conversation_content_view/message_widget.vala +++ b/main/src/ui/conversation_content_view/message_widget.vala @@ -186,7 +186,8 @@ public class MessageMetaItem : ContentMetaItem { } } else if (message.direction == Message.DIRECTION_SENT && message.marked == Message.Marked.ERROR) { // Append "delivery failed" if there was a server error - string error_color = Util.rgba_to_hex(Util.get_label_pango_color(label, "@error_color")); + // TODO: Use a dedicated label, not appended text + string error_color = Util.rgba_to_hex(Util.get_label_pango_color(label, "error_color")); markup_text += " %s".printf(error_color, _("delivery failed")); theme_dependent = true; additional_info = AdditionalInfo.DELIVERY_FAILED; @@ -337,8 +338,6 @@ public class MessageItemEditMode : Box { [GtkChild] public unowned Frame frame; construct { - Util.force_css(frame, "* { border-radius: 3px; padding: 0px 7px; }"); - EmojiChooser chooser = new EmojiChooser(); chooser.emoji_picked.connect((emoji) => { chat_text_view.text_view.buffer.insert_at_cursor(emoji, emoji.data.length); -- cgit v1.3