XObject.js
authorAlan Knowles <alan@akbkhome.com>
Sun, 16 Jan 2011 09:15:44 +0000 (17:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 16 Jan 2011 09:15:44 +0000 (17:15 +0800)
XObject.js

index 3823897..fbfc989 100644 (file)
@@ -143,6 +143,7 @@ XObject.prototype = {
         // xtype= Gtk.Menu ?? what about c_new stuff?
         if (XObject.debug) print("init: ID:"+ this.id +" typeof(xtype): "  + typeof(this.xtype));
         if (!this.el && typeof(this.xtype) == 'function') {
+            // gjs implements xtype as function in seed they are undefined..
             if (XObject.debug) print("func?"  + XObject.keys(this.config).join(','));
             try {
                 this.el = this.xtype(this.config);