diff options
| author | Marvin W <git@larma.de> | 2026-07-21 17:47:35 +0200 |
|---|---|---|
| committer | Marvin W <git@larma.de> | 2026-08-02 12:44:10 +0200 |
| commit | e8077ee3e9409aea9cda3d04b6363d49bcaa61b9 (patch) | |
| tree | e3279d1f3f64a3d3d024cdb67b1be2d6aab28ca5 /main/src/ui/conversation_content_view/message_widget.vala | |
| parent | 64f09ce50063e6ccc135a535fe98f58751d7ac7d (diff) | |
Stop injecting custom CSS providers
Diffstat (limited to 'main/src/ui/conversation_content_view/message_widget.vala')
| -rw-r--r-- | main/src/ui/conversation_content_view/message_widget.vala | 5 |
1 files changed, 2 insertions, 3 deletions
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 += " <span size='small' color='%s'>%s</span>".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); |
