[polari] chatView: Add missing chain-up in style_updated
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] chatView: Add missing chain-up in style_updated
- Date: Wed, 10 Sep 2014 15:33:38 +0000 (UTC)
commit 1b577c0de8a9df5d2990892f8d3bb867f509dad0
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 10 17:23:46 2014 +0200
chatView: Add missing chain-up in style_updated
GtkWidget's default implementation takes care of queuing a draw/resize
as necessary, so we need to chain-up for the style to actually take
effect.
src/chatView.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index c06a47e..2d8a082 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -47,6 +47,8 @@ const TextView = new Lang.Class({
context.add_class('dim-label');
this._dimColor = context.get_color(Gtk.StateFlags.NORMAL);
context.restore();
+
+ this.parent();
},
vfunc_draw: function(cr) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]