NewBranch.bjs
[gitlive] / NewBranch.bjs
index 69d3dfb..b6660ab 100644 (file)
   {
    "listeners" : {
     "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n    //test  \n}\n ",
-    "response" : " (self, response_id) =>  { \n  \n\t \n}",
-    "show" : "(self)  => {\n  this.el.show_all();\n  //test\n}"
+    "response" : " (self, response_id) =>  { \n  \n\t GLib.log(\"got %d\", reponse_id)\n}",
+    "show" : "(self)  => {\n  this.el.run();\n  //test\n}"
    },
    "id" : "DialogNewComponent",
    "default_width" : 500,
    "$ deletable" : true,
    "title" : "Create a working branch ",
    "xtype" : "Dialog",
-   "|   void show" : "( ) \n{\n    \n    \n    //this.success = c.success;\n    \n    \n}",
+   "|   void show" : "( ) \n{\n    \n    this.show();\n    //this.success = c.success;\n    \n    \n}",
    "default_height" : 200,
    "$ modal" : true,
    "$ xns" : "Gtk",