5 "path" : "/home/alan/gitlive/gitlive/NewBranch.bjs",
8 "build_module" : "gitlive",
12 "delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n}\n ",
13 "response" : " (self, response_id) => { \n \n\t GLib.debug(\"got %d\", (int) response_id);\n}",
14 "show" : "(self) => {\n this.el.run();\n //test\n}"
16 "default_width" : 500,
18 "title" : "Create a working branch ",
20 "| void show" : "( ) \n{\n // this.el.set_gravity(Gdk.Gravity.NORTH);\n this.el.move((Gdk.Screen.width() / 2)- 250 ,0);\n this.el.show_all();\n \n}",
21 "default_height" : 200,
27 "$ pack" : "get_content_area().add",
31 "* pack" : "pack_start,false,false,0",
36 "$ homogeneous" : true,
39 "label" : "Select Ticket",
41 "xalign" : 0.90000000000000002,
42 "* pack" : "attach_defaults,0,1,0,1",
44 "$ justify" : "Gtk.Justification.RIGHT",
49 "id" : "build_module",
50 "* init" : "this.el.add_attribute(_this.dbcellrenderer.el , \"markup\", 1 );",
51 "* pack" : "attach_defaults,1,2,0,1",
56 "id" : "dbcellrenderer",
57 "* pack" : "pack_start,true",
58 "xtype" : "CellRendererText",
63 "* pack" : "set_model",
64 "xtype" : "ListStore",
65 "$ columns" : "typeof(string),typeof(string)",
68 "| void loadData" : " (Gee.ArrayList<string> data, string cur) {\n this.el.clear(); \n Gtk.TreeIter iter;\n var el = this.el;\n \n /// el.append(out iter);\n \n \n // el.set_value(iter, 0, \"\");\n // el.set_value(iter, 1, \"aaa - Just add Element - aaa\");\n\n el.append(out iter);\n\n \n el.set_value(iter, 0, \"\");\n el.set_value(iter, 1, \"-- select a module --\");\n _this.build_module.el.set_active_iter(iter);\n \n for (var i = 0; i < data.size;i++) {\n \n\n el.append(out iter);\n \n el.set_value(iter, 0, data.get(i));\n el.set_value(iter, 1, data.get(i));\n \n if (data.get(i) == cur) {\n _this.build_module.el.set_active_iter(iter);\n }\n \n }\n this.el.set_sort_column_id(0, Gtk.SortType.ASCENDING); \n \n}\n"
73 "label" : "or use this as branch name",
74 "xalign" : 0.90000000000000002,
75 "* pack" : "attach_defaults,0,1,1,2",
77 "$ justify" : "Gtk.Justification.RIGHT",
85 "* pack" : "attach_defaults,1,2,1,2",
93 "label" : "Do not create Branch",
94 "* pack" : "add_action_widget,0",
96 "Gtk.ReliefStyle relief" : "Gtk.ReliefStyle.NONE",
100 "label" : "Create Branch",
101 "* pack" : "add_action_widget,1",