FixBug.bjs
authorAlan Knowles <alan@akbkhome.com>
Tue, 18 Dec 2012 15:21:10 +0000 (23:21 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 18 Dec 2012 15:21:10 +0000 (23:21 +0800)
FixBug.js

FixBug.bjs
FixBug.js

index 8a3c844..a14c68d 100644 (file)
                                             "|xns": "Gtk",
                                             "items": [
                                                 {
-                                                    "|fixed_height_mode": "true",
                                                     "id": "ticket-view",
                                                     "pack": "add",
                                                     "xtype": "TreeView",
                                                     "|can_focus": "true",
+                                                    "|fixed_height_mode": "true",
                                                     "|headers_visible": "false",
                                                     "|init": "function() {\n    XObject.prototype.init.call(this);\n    var description = new Pango.FontDescription.c_new();\n    description.set_size(10000);\n    this.el.modify_font(description);\n\n    this.selection = this.el.get_selection();\n    this.selection.set_mode( Gtk.SelectionMode.SINGLE);\n    var _t = this;\n\n    // is this really needed??\n    this.selection.signal['changed'].connect(function() {\n        print('selection changed');\n    \n\n    });\n\n}\n",
                                                     "|xns": "Gtk",
index 7dcbaec..59a3ce4 100644 (file)
--- a/FixBug.js
+++ b/FixBug.js
@@ -214,10 +214,10 @@ FixBug=new XObject({
                                     items : [
                                         {
                                             xtype: Gtk.TreeView,
-                                            fixed_height_mode : true,
                                             id : "ticket-view",
                                             pack : "add",
                                             can_focus : true,
+                                            fixed_height_mode : true,
                                             headers_visible : false,
                                             init : function() {
                                                 XObject.prototype.init.call(this);