{
- "id": "file-gtk-7",
+ "id": "file-gtk-3",
"name": "Commit",
"parent": "",
"title": false,
},
" modal": true,
"border_width": 3,
- "default_height": 150,
- "default_width": 500,
+ "default_height": 500,
+ "default_width": 800,
"title": "Commit",
"xtype": "Dialog",
- "|deletable": true,
- "|modal": true,
- "|show": "function(c) {\n \n if (!this.el) {\n this.init();\n }\n var _this = this;\n \n \n this.files = c.files;\n this.release = c.release;\n this.rev = c.rev;\n \n this.repo = c.repo;\n\n this.get('/commitDate').el.set_text(c.changed);\n this.get('/commitAuthor').el.set_text(c.author);\n \n this.get('/commitPatch').showDiff(c.files);\n \n this.el.show_all();\n \n var run_ret = this.el.run();\n if (run_ret < 1 ) {\n return false;\n }\n //var ret= {\n // url : this.get('/remoteURL').el.get_child().get_text(),\n // name : this.get('/remoteName').el.get_text()\n //};\n return true;\n return ret;\n \n \n \n}\n",
+ "|deletable": "true",
+ "|modal": "true",
+ "|show": "function(c) {\n \n if (!this.el) {\n this.init();\n }\n var _this = this;\n \n \n this.files = c.files;\n this.release = c.release;\n this.rev = c.rev;\n \n this.repo = c.repo;\n\n this.get('/commitDate').el.set_text(c.changed);\n this.get('/commitAuthor').el.set_text(c.author);\n this.get('/commitMsg').el.get_buffer().set_text('');\n this.get('/commitPatch').showDiff(c.files);\n \n this.el.show_all();\n \n var run_ret = this.el.run();\n if (run_ret < 1 ) {\n return false;\n }\n var buf = this.get('/commitMsg').el.get_buffer();\n var e = {};\n var s = {};\n buf.get_start_iter(s);\n buf.get_end_iter(e);\n \n var ret= {\n date : this.get('/commitDate').el.get_text(),\n author : this.get('/commitAuthor').el.get_text(),\n message : buf.get_text(s.value, e.value, false)\n };\n \n return ret;\n \n \n \n}\n",
"|xns": "Gtk",
"items": [
{
}
],
"permname": "",
- "modOrder": "0"
+ "modOrder": ""
}
\ No newline at end of file