Uncommited changes synced
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 07:39:47 +0000 (15:39 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 07:39:47 +0000 (15:39 +0800)
Clones.bjs
Clones.vala
Makefile.am

index e32dee5..be983b7 100644 (file)
@@ -37,7 +37,7 @@
        "items" : [
         {
          "listeners" : {
-          "clicked" : "() => {\n\t\tClone.show(this.el);\n    \n    \n    \n}"
+          "clicked" : "() => {\n\t\tClone.singleton().show(this.el);\n    \n    \n    \n}"
          },
          "label" : "Add Repository",
          "xtype" : "Button",
index 2732b4e..befa7f3 100644 (file)
@@ -171,7 +171,7 @@ public class Clones : Object
 
             //listeners
             this.el.clicked.connect( () => {
-                       Clone.show(this.el);
+                       Clone.singleton().show(this.el);
                 
                 
                 
index 70af8b4..731bbd4 100644 (file)
@@ -31,6 +31,7 @@ Gitlive_SOURCES = \
           c/xorg_idletime.c \
           WindowLog.vala \
           Clones.vala \
+          Clone.vala \
           NewBranch.vala \
           MergeBranch.vala \
           RepoStatusPopover.vala