[polari/wip/kunaljain/bug-fixes: 54/55] chatView: Listen to crossover events
- From: Kunal Jain <kunaljain src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/kunaljain/bug-fixes: 54/55] chatView: Listen to crossover events
- Date: Tue, 22 Dec 2015 20:28:23 +0000 (UTC)
commit a22871b8ebaac582c80928a622d11efb4ad35a85
Author: Kunaal Jain <kunaalus gmail com>
Date: Wed Dec 23 01:13:19 2015 +0530
chatView: Listen to crossover events
Listen to crossover events, when entering,
or leaving the chatView.
src/chatView.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index d475c9b..b4d3b14 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -379,6 +379,9 @@ const ChatView = new Lang.Class({
wrap_mode: Gtk.WrapMode.WORD_CHAR,
right_margin: MARGIN });
+ this._view.add_events(Gdk.EventMask.LEAVE_NOTIFY_MASK);
+ this._view.add_events(Gdk.EventMask.ENTER_NOTIFY_MASK);
+
this.widget.add(this._view);
this.widget.show_all();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]