XObject.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 18 May 2010 16:07:00 +0000 (00:07 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 18 May 2010 16:07:00 +0000 (00:07 +0800)
XObject.js

index 6002b95..f455255 100644 (file)
@@ -77,13 +77,16 @@ function XObject (cfg) {
     this.items = this.items || [];
     // pack can be false!
     if (typeof(this.pack) == 'undefined') {
-        var Gtk  = imports.gi.Gtk;
+        
         this.pack = [ 'add' ]
+        /*
+        var Gtk  = imports.gi.Gtk;
         switch (true) {
             // any others!!
             case (this.xtype == Gtk.MenuItem):  this.pack = [ 'append' ]; break;
             
         }
+        */
         
     }