Clones.bjs
[gitlive] / Clones.bjs
index cbeb877..efef136 100644 (file)
          "items" : [
           {
            "id" : "reposStore",
-           "columns" : "     typeof(string),  // 0 repo\n     typeof(string),  // 1 current branch\n     typeof(string),  // 2 all branch\n     typeof(string),  // 3 updated\n     typeof(bool),   // 4 auto commit\n     typeof(bool),   // 5 auto push\n     typeof(string)   // 7 repopath\n      typeof(string)   // 8 color highlighting?",
+           "columns" : "     typeof(string),  // 0 repo\n     typeof(string),  // 1 current branch\n     typeof(string),  // 2 all branch\n     typeof(string),  // 3 updated\n     typeof(bool),   // 4 auto commit\n     typeof(bool),   // 5 auto push\n     typeof(string),   // 7 repopath\n      typeof(string)   // 8 color highlighting?\n      ",
            "$ pathToRepo" : "function(path) {\n\n    var tr= this.repos;\n\n    \n    for(var i =0 ; i < tr.length; i++) {\n        if (tr[i].repopath == path) {\n            return tr[i];\n        }\n    } \n    return false; \n}\n",
            "xtype" : "ListStore",
            "* pack" : "set_model",
           },
           {
            "id" : "tv_autopush",
-           "* init" : " \n    this.el.add_attribute(_this.cr_autopush.el , 'active', 5 );\n//      this.items[0].el.set_activatable(true);\n\n",
+           "* init" : " \n    this.el.add_attribute(_this.cr_autopush.el , \"active\", 5 );\n//      this.items[0].el.set_activatable(true);\n\n",
            "* pack" : "append_column",
            "title" : "Auto Push",
            "xtype" : "TreeViewColumn",
           },
           {
            "id" : "tv_repo",
-           "* init" : "\n    this.el.add_attribute(_this.cr_repo.el , 'markup', 0 );\n",
+           "* init" : "\n    this.el.add_attribute(_this.cr_repo.el , \"markup\", 0 );\n",
            "title" : "Repo",
            "* pack" : "append_column",
            "xtype" : "TreeViewColumn",
           },
           {
            "id" : "tv_current_branch",
-           "* init" : "function() {\n    XObject.prototype.init.call(this);\n    this.el.add_attribute(_this.cr_current_branch.el , 'markup', 1 );\n     this.el.add_attribute(_this.cr_current_branch.el, 'cell-background', 7 );\n\n}\n",
+           "* init" : "function() {\n    XObject.prototype.init.call(this);\n    this.el.add_attribute(_this.cr_current_branch.el , \"markup\", 1 );\n     this.el.add_attribute(_this.cr_current_branch.el, \"cell-background\", 7 );\n\n}\n",
            "* pack" : "append_column",
            "title" : "Current Branch",
            "xtype" : "TreeViewColumn",
            ]
           }
          ]
-        },
-        {
-         "* pack" : false,
-         "xtype" : "TreeView",
-         "$ xns" : "Gtk",
-         "items" : [
-          {
-           "* pack" : false,
-           "xtype" : "ListStore",
-           "$ xns" : "Gtk"
-          }
-         ]
         }
        ]
       }