diff options
Diffstat (limited to 'main/src/ui/conversation_summary/view.vala')
-rw-r--r-- | main/src/ui/conversation_summary/view.vala | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/main/src/ui/conversation_summary/view.vala b/main/src/ui/conversation_summary/view.vala index 87c553c5..2cf695b2 100644 --- a/main/src/ui/conversation_summary/view.vala +++ b/main/src/ui/conversation_summary/view.vala @@ -50,22 +50,7 @@ public class View : Box { return true; }); - update_background_color(); - this.style_updated.connect(style_changed); - } - - private void update_background_color() { - TextView tmp = new TextView(); - this.override_background_color(0, tmp.get_style_context().get_background_color(0)); - main.override_background_color(0, tmp.get_style_context().get_background_color(0)); - } - - private void style_changed() { - lock (main) { - this.style_updated.disconnect(style_changed); - update_background_color(); - this.style_updated.connect(style_changed); - } + Util.force_base_background(this); } public void initialize_for_conversation(Conversation? conversation) { |