Clones.bjs
[gitlive] / Clones.bjs
index b0edbc1..b789815 100644 (file)
@@ -12,7 +12,7 @@
     "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n    //test  \n}\n ",
     "response" : "(self, response_id) =>  { \n \n        this.el.hide();\n  \n}"
    },
-   "default_width" : 600,
+   "default_width" : 800,
    "$ deletable" : true,
    "| void show" : "()    {\n\n    \n    this.el.set_deletable(false);\n    this.el.set_gravity(Gdk.Gravity.NORTH);\n    this.el.move(Gdk.Screen.width() / 2 ,0);\n    this.el.show_all();\n    // load clones..\n//     this.get('/reposStore').load();\n    \n    //this.get('/ok_button').el.set_sensitive(false);\n    \n    // block until we return.\n//    var run_ret = this.el.run();\n//    if (run_ret < 1 ) {\n//        return  \"DONE\";\n//    }\n//    print(\"RUN RETURN : \" + run_ret);\n//    return \"DONE\";\n    //print(JSON.stringify(this.get('bug').getValue()));\n   // return this.get('bug').getValue();\n    //this.success = c.success;\n}\n",
    "title" : "Manage Clones",
@@ -84,6 +84,7 @@
       {
        "* init" : "  {\n  \n   this.el.set_policy (Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);\n}\n",
        "bool expand" : true,
+       "bool hexpand" : true,
        "xtype" : "ScrolledWindow",
        "* pack" : "pack_end,false,false,0",
        "Gtk.ShadowType shadow_type" : "Gtk.ShadowType.IN",
     {
      "label" : "Close",
      "id" : "ok_button",
+     "bool expand" : false,
      "* pack" : "add_action_widget,1 ",
      "xtype" : "Button",
      "$ xns" : "Gtk"