From f44cbe02c17df1f02ad49c63cd784fec0ea02d85 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 14 May 2022 14:45:59 +0200 Subject: Improve Gtk4 port --- main/src/ui/conversation_content_view/chat_state_populator.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main/src/ui/conversation_content_view/chat_state_populator.vala') diff --git a/main/src/ui/conversation_content_view/chat_state_populator.vala b/main/src/ui/conversation_content_view/chat_state_populator.vala index 0665caac..803739c8 100644 --- a/main/src/ui/conversation_content_view/chat_state_populator.vala +++ b/main/src/ui/conversation_content_view/chat_state_populator.vala @@ -77,11 +77,11 @@ private class MetaChatStateItem : Plugins.MetaConversationItem { } public override Object? get_widget(Plugins.ConversationItemWidgetInterface outer, Plugins.WidgetType widget_type) { - label = new Label("") { xalign=0, vexpand=true, visible=true }; - label.get_style_context().add_class("dim-label"); - image = new AvatarImage() { margin_top=2, valign=Align.START, visible=true }; + label = new Label("") { xalign=0, vexpand=true }; + label.add_css_class("dim-label"); + image = new AvatarImage() { margin_top=2, valign=Align.START }; - Box image_content_box = new Box(Orientation.HORIZONTAL, 8) { visible=true }; + Box image_content_box = new Box(Orientation.HORIZONTAL, 8); image_content_box.append(image); image_content_box.append(label); -- cgit v1.2.3-54-g00ecf