projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f25d65
)
FixBug.bjs
author
Alan Knowles
<alan@akbkhome.com>
Sun, 16 Dec 2012 08:33:31 +0000
(16:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 16 Dec 2012 08:33:31 +0000
(16:33 +0800)
FixBug.js
FixBug.bjs
patch
|
blob
|
history
FixBug.js
patch
|
blob
|
history
diff --git
a/FixBug.bjs
b/FixBug.bjs
index
5cb5279
..
82fc1d2
100644
(file)
--- a/
FixBug.bjs
+++ b/
FixBug.bjs
@@
-94,7
+94,7
@@
"items": [
{
"listeners": {
- "key_release_event": "function (self, event) {\n print(
event.keyval)
;\n}"
+ "key_release_event": "function (self, event) {\n print(
JSON.stringify(event,null,4)); //.keyval);\n return true
;\n}"
},
"id": "search-entry",
"pack": "pack_start,true,true,3",
diff --git
a/FixBug.js
b/FixBug.js
index
bce3970
..
9ec2326
100644
(file)
--- a/
FixBug.js
+++ b/
FixBug.js
@@
-167,7
+167,8
@@
FixBug=new XObject({
xtype: Gtk.Entry,
listeners : {
key_release_event : function (self, event) {
- print(event.keyval);
+ print(JSON.stringify(event,null,4)); //.keyval);
+ return true;
}
},
id : "search-entry",