"|show": "function(c) {\n \n if (!this.el) {\n this.init();\n }\n var _this = this;\n /*[ 'xtype' ].forEach(function(k) {\n _this.get(k).setValue(typeof(c[k]) == 'undefined' ? '' : c[k]);\n });\n\t// shouild set path..\n */\n\n \n this.el.show_all();\n this.get('/ok_button').el.set_sensitive(false);\n \n // block until we return.\n var run_ret = this.el.run();\n if (run_ret < 1 ) {\n return false;\n }\n print(\"RUN RETURN : \" + run_ret);\n \n //print(JSON.stringify(this.get('bug').getValue()));\n return this.get('bug').getValue();\n //this.success = c.success;\n}\n",
"|xns": "Gtk",
"items": [
- {
- "xtype": "HBox",
- "|xns": "Gtk",
- "items": [
- {
- "label": "Not working on Project",
- "pack": "add_action_widget,0",
- "xtype": "Button",
- "|xns": "Gtk"
- },
- {
- "id": "ok_button",
- "label": "Working on Selected Ticket",
- "pack": "add_action_widget,1",
- "xtype": "Button",
- "|xns": "Gtk"
- }
- ]
- },
{
"pack": "add",
"xtype": "VBox",
]
}
]
+ },
+ {
+ "xtype": "HBox",
+ "|xns": "Gtk",
+ "pack": false,
+ "items": [
+ {
+ "label": "Not working on Project",
+ "pack": "add_action_widget,0",
+ "xtype": "Button",
+ "|xns": "Gtk"
+ },
+ {
+ "id": "ok_button",
+ "label": "Working on Selected Ticket",
+ "pack": "add_action_widget,1",
+ "xtype": "Button",
+ "|xns": "Gtk"
+ }
+ ]
}
]
}
//this.success = c.success;
},
items : [
- {
- xtype: Gtk.HBox,
- items : [
- {
- xtype: Gtk.Button,
- label : "Not working on Project",
- pack : "add_action_widget,0"
- },
- {
- xtype: Gtk.Button,
- id : "ok_button",
- label : "Working on Selected Ticket",
- pack : "add_action_widget,1"
- }
- ]
- },
{
xtype: Gtk.VBox,
pack : "add",
]
}
]
+ },
+ {
+ xtype: Gtk.HBox,
+ pack : false,
+ items : [
+ {
+ xtype: Gtk.Button,
+ label : "Not working on Project",
+ pack : "add_action_widget,0"
+ },
+ {
+ xtype: Gtk.Button,
+ id : "ok_button",
+ label : "Working on Selected Ticket",
+ pack : "add_action_widget,1"
+ }
+ ]
}
]
}