Clones.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 14 Nov 2018 07:56:17 +0000 (15:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Nov 2018 07:56:17 +0000 (15:56 +0800)
Clones.vala

Clones.bjs
Clones.vala

index 384287d..5633987 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" : 800,
+   "default_width" : 1024,
    "| 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 ) -400 ,0);\n    this.el.show_all();\n    _this.reposStore.load();\n    this.el.set_keep_above(true);\n    this.el.run();\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",
    "$ deletable" : true,
    "title" : "Manage Clones",
index 16c8b9a..978d1df 100644 (file)
@@ -46,7 +46,7 @@ public class Clones : Object
         this.el.title = "Manage Clones";
         this.el.border_width = 3;
         this.el.default_height = 500;
-        this.el.default_width = 800;
+        this.el.default_width = 1024;
         this.el.deletable = true;
         this.el.modal = true;
         var child_0 = new Xcls_Box2( _this );