[gnome-characters] characterList: Monitor button-release event
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] characterList: Monitor button-release event
- Date: Mon, 2 Mar 2015 05:28:15 +0000 (UTC)
commit 70c8420a779fdb1a498489852e8707af37cfa150
Author: Daiki Ueno <dueno src gnome org>
Date: Mon Mar 2 14:26:53 2015 +0900
characterList: Monitor button-release event
To enable popover to be closed when the character list is clicked.
src/characterList.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/characterList.js b/src/characterList.js
index 6aa8425..59a9fbd 100644
--- a/src/characterList.js
+++ b/src/characterList.js
@@ -97,7 +97,8 @@ const CharacterListWidget = new Lang.Class({
this._fontDescription = filtered.fontDescription;
this._characters = [];
this._rows = [];
- this.add_events(Gdk.EventMask.BUTTON_PRESS_MASK);
+ this.add_events(Gdk.EventMask.BUTTON_PRESS_MASK |
+ Gdk.EventMask.BUTTON_RELEASE_MASK);
},
vfunc_button_press_event: function(event) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]