aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/call_window
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-04-22 19:47:32 +0200
committerfiaxh <git@lightrise.org>2023-04-22 19:52:28 +0200
commit03e367ecb88fe142a6244b397ca32531160ccbb0 (patch)
treea7313b9680f8757af479c6050f637eecae98fd46 /main/src/ui/call_window
parent83476d1cadf7c2bddc79c2e44b6b4e28192f8f18 (diff)
downloaddino-03e367ecb88fe142a6244b397ca32531160ccbb0.tar.gz
dino-03e367ecb88fe142a6244b397ca32531160ccbb0.zip
Fix call window styling
Diffstat (limited to 'main/src/ui/call_window')
-rw-r--r--main/src/ui/call_window/participant_widget.vala3
1 files changed, 0 insertions, 3 deletions
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();
}