aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_summary/view.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-13 22:53:36 +0100
committerMarvin W <git@larma.de>2017-03-13 22:54:52 +0100
commit092edaf9fd05067c34d87ad4193d3485bdb5245d (patch)
treeb6635a06552d0bef8d3297a7d11735fc807a25c8 /main/src/ui/conversation_summary/view.vala
parent2d6f580c871df055ca79b8a8be53e53e62aa155c (diff)
downloaddino-092edaf9fd05067c34d87ad4193d3485bdb5245d.tar.gz
dino-092edaf9fd05067c34d87ad4193d3485bdb5245d.zip
Fix regression of being unable to select text
Diffstat (limited to 'main/src/ui/conversation_summary/view.vala')
-rw-r--r--main/src/ui/conversation_summary/view.vala17
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) {