RooTicket.vala
[gitlive] / NewBranch.bjs
index b6660ab..dd8877a 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 GLib.log(\"got %d\", reponse_id)\n}",
+    "response" : " (self, response_id) =>  { \n  \n\t GLib.debug(\"got %d\", (int) response_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    this.show();\n    //this.success = c.success;\n    \n    \n}",
+   "|   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}",
    "default_height" : 200,
    "$ modal" : true,
    "$ xns" : "Gtk",
@@ -33,7 +32,7 @@
        "xtype" : "Table",
        "n_columns" : 2,
        "$ xns" : "Gtk",
-       "n_rows" : 3,
+       "n_rows" : 2,
        "$ homogeneous" : true,
        "items" : [
         {
@@ -94,6 +93,7 @@
      "label" : "Do not create Branch",
      "* pack" : "add_action_widget,0",
      "xtype" : "Button",
+     "Gtk.ReliefStyle relief" : "Gtk.ReliefStyle.NONE",
      "$ xns" : "Gtk"
     },
     {