From f44cbe02c17df1f02ad49c63cd784fec0ea02d85 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 14 May 2022 14:45:59 +0200 Subject: Improve Gtk4 port --- .../ui/conversation_content_view/date_separator_populator.vala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main/src/ui/conversation_content_view/date_separator_populator.vala') diff --git a/main/src/ui/conversation_content_view/date_separator_populator.vala b/main/src/ui/conversation_content_view/date_separator_populator.vala index 40bf0693..25ef7a51 100644 --- a/main/src/ui/conversation_content_view/date_separator_populator.vala +++ b/main/src/ui/conversation_content_view/date_separator_populator.vala @@ -83,12 +83,12 @@ public class DateSeparatorWidget : Box { visible = true; this.date = date; - label = new Label("") { use_markup=true, halign=Align.CENTER, hexpand=false, visible=true }; - label.get_style_context().add_class("dim-label"); + label = new Label("") { use_markup=true, halign=Align.CENTER, hexpand=false }; + label.add_css_class("dim-label"); - this.append(new Separator(Orientation.HORIZONTAL) { valign=Align.CENTER, hexpand=true, visible=true }); + this.append(new Separator(Orientation.HORIZONTAL) { valign=Align.CENTER, hexpand=true }); this.append(label); - this.append(new Separator(Orientation.HORIZONTAL) { valign=Align.CENTER, hexpand=true, visible=true }); + this.append(new Separator(Orientation.HORIZONTAL) { valign=Align.CENTER, hexpand=true }); update_time(); } -- cgit v1.2.3-54-g00ecf