From a0c10701747b0f774723f736b6966904f0013f39 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 13:07:34 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 2 +- Clones.vala | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index 55b9eee8..3b61dfeb 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -101,7 +101,7 @@ "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", diff --git a/Clones.vala b/Clones.vala index 9159398a..a5e4d672 100644 --- a/Clones.vala +++ b/Clones.vala @@ -562,8 +562,9 @@ public class Clones : Object typeof(string), // 3 updated typeof(bool), // 4 auto commit typeof(bool), // 5 auto push - typeof(string) // 7 repopath - typeof(string) // 8 color highlighting? ); + typeof(string), // 7 repopath + typeof(string) // 8 color highlighting? + ); // my vars (dec) -- 2.39.2