From 03e367ecb88fe142a6244b397ca32531160ccbb0 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 22 Apr 2023 19:47:32 +0200 Subject: Fix call window styling --- main/src/ui/call_window/participant_widget.vala | 3 --- 1 file changed, 3 deletions(-) (limited to 'main/src/ui/call_window') diff --git a/main/src/ui/call_window/participant_widget.vala b/main/src/ui/call_window/participant_widget.vala index 8ec1f5ea..bed64c30 100644 --- a/main/src/ui/call_window/participant_widget.vala +++ b/main/src/ui/call_window/participant_widget.vala @@ -74,14 +74,11 @@ namespace Dino.Ui { header_bar.show_title_buttons = is_highest_row; if (is_highest_row) { - header_bar.add_css_class("call-header-background"); Gtk.Settings? gtk_settings = Gtk.Settings.get_default(); if (gtk_settings != null) { string[] buttons = gtk_settings.gtk_decoration_layout.split(":"); header_bar.decoration_layout = (is_start ? buttons[0] : "") + ":" + (is_end && buttons.length == 2 ? buttons[1] : ""); } - } else { - header_bar.remove_css_class("call-header-background"); } reveal_or_hide_controls(); } -- cgit v1.2.3-70-g09d2