// XObject.registry[o.xnsid][o.id] = this;
//}
- var type = this.xtype.type ? GObject.type_name(this.xtype.type) : '';
+ var type = this.xtype && this.xtype.type ? GObject.type_name(this.xtype.type) : '';
XObject.log("add children to " + type);
var _this=this;
var _li = XObject.createDelegate(fn,this);
// private listeners that are not copied to GTk.
+ if (!this.el) {
+ print('missing el?');
+ print(fn);
+ print(JSON.stringify(this.cfg));
+ }
+
+
if (typeof(Seed) != 'undefined') {
// Seed.print(typeof(_li));
this.el.signal[sig].connect(_li);
}
XObject.log("TRYING BASE OBJECT : " + gname);
+
// in the situation where we have been called and there is a base object
// defining the behavior..
// then we should copy the prototypes from the base object into this..