XObject.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 07:28:00 +0000 (15:28 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 07:28:00 +0000 (15:28 +0800)
XObject.js

index 8a64a4a..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];
         }