XObject.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:42:22 +0000 (18:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:42:22 +0000 (18:42 +0800)
XObject.js

index dd784fd..e70cbdd 100644 (file)
@@ -80,7 +80,7 @@ function XObject (cfg) {
         this.pack = [ 'add' ]
         switch (true) {
             // any others!!
-            case (this.xtype == Gtk.Menu):  this.pack = [ 'append' ]; break;
+            case (this.xtype == Gtk.MenuItem):  this.pack = [ 'append' ]; break;
             
         }