X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NewBranch.bjs;h=49ff22aec9aec5e71e0e5e210349c289b085c061;hb=715cda85f263d1076c5807e10dea7a620c841033;hp=a536cf338509b6547e7dec39b98d5cdb556cc5fa;hpb=956fae39b62b0db6fb62ecbea294624f90f42358;p=gitlive diff --git a/NewBranch.bjs b/NewBranch.bjs index a536cf33..49ff22ae 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -247,6 +247,7 @@ "bool homogeneous" : false, "xtype" : "Box", "* pack" : "append_page,_this.label_create_ticket.el", + "| void load_data" : "() {\n if (_this.running) { // should not happen!!\n \tGLib.error(\"new branch show called, when already being displayed?\");\n\t}\n \t_this.running = true;\n \n \t \n\t\n Timeout.add_seconds(1, () => {\n\t\t \n\t\tRooProject? curproj = null;\n\t\tif (_this.repo != null) {\n\t\t\tcurproj = RooProject.getProjectByRepo(_this.repo);\n\t\t}\n\t\t_this.prmodel.loadProjects(curproj == null ? \"\" : curproj.id);\n\t\tif (curproj != null) {\n\t \n\t\t\t\n\t\t\tvar rt = RooTicket.singleton();\n\t\t\trt.loadProjectOptions(curproj.id);\n\t\t\t\n\t\t\t_this.msmodel.loadMilestones();\n\t\t\t_this.primodel.loadPriorities();\n\t\t\t_this.sevmodel.loadSeverities();\n\t\t\t_this.clmodel.loadClassifications();\t\n\t\t\t_this.devmodel.loadDevelopers();\t\n\t\t\t\n\t\t}\n\t\t_this.summary.el.set_text(\"\");\n\t\t_this.description.el.buffer.text = \"\"; \n\t\t//_this.spinner.el.stop();\n\t\t//_this.spinner.el.hide();\t\n\n\t\t_this.table.el.show();\n\t //_this.summary.el.grab_focus();\n \n\t \treturn false;\n \t});\n}\n", "$ xns" : "Gtk", "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL", "items" : [ @@ -495,6 +496,7 @@ ] }, { + "id" : "quick_commit_tab", "bool homogeneous" : false, "* pack" : "append_page,_this.label_quick_commit.el", "xtype" : "Box",