README.txt
[app.Builder.js] / XObject.js
index b2723ad..3155dba 100644 (file)
@@ -193,6 +193,9 @@ XObject.prototype = {
             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];
         }
         
@@ -275,13 +278,14 @@ XObject.prototype = {
         // handle error.
         if (pack_m && typeof(this.el[pack_m]) == 'undefined') {
             
-            Seed.print('pack method not available : ' + this.xtype + '.' +  pack_m);
-            console.dump(this);
-            var p = this.parent;
-            while (p) {
-                Seed.print('PARENT: ' + p.xtype);
-                p = p.parent;
+            throw {
+                name: "ArgumentError", 
+                message : 'pack method not available : ' + this.id + " : " + this.xtype + '.' +  pack_m + " ADDING " + item.el
+                    
             }
+           
+            
+            
             
             return;
         }