projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d45d78
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 27 May 2010 08:51:17 +0000
(16:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 27 May 2010 08:51:17 +0000
(16:51 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
a4db5b7
..
8be2323
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-215,8
+215,16
@@
XObject.prototype = {
this.addListener(i, this.listeners[i]);
}
// delete this.listeners ?
-
-
+ // do again so child props work!
+ for (var i in this.config) {
+ if (i == 'type') { // problem with Gtk.Window... - not decided on a better way to handle this.
+ continue;
+ }
+ if (i == 'buttons') { // problem with Gtk.MessageDialog..
+ continue;
+ }
+ this.el[i] = this.config[i];
+ }
// do we need to call 'init here?'
},