RepoStatusPopover.bjs
[gitlive] / RepoStatusPopover.vala
index 26204be..f9e9452 100644 (file)
@@ -13,6 +13,7 @@ public class RepoStatusPopover : Object
         return _RepoStatusPopover;
     }
     public Xcls_btn_stash btn_stash;
+    public Xcls_btn_commit btn_commit;
     public Xcls_label_status label_status;
     public Xcls_label_diff label_diff;
     public Xcls_status_view status_view;
@@ -162,7 +163,7 @@ public class RepoStatusPopover : Object
             var child_0 = new Xcls_btn_stash( _this );
             child_0.ref();
             this.el.add (  child_0.el  );
-            var child_1 = new Xcls_ToolButton6( _this );
+            var child_1 = new Xcls_btn_commit( _this );
             child_1.ref();
             this.el.add (  child_1.el  );
             var child_2 = new Xcls_ToolButton7( _this );
@@ -216,7 +217,7 @@ public class RepoStatusPopover : Object
         // user defined functions
     }
 
-    public class Xcls_ToolButton6 : Object
+    public class Xcls_btn_commit : Object
     {
         public Gtk.ToolButton el;
         private RepoStatusPopover  _this;
@@ -225,9 +226,10 @@ public class RepoStatusPopover : Object
             // my vars (def)
 
         // ctor
-        public Xcls_ToolButton6(RepoStatusPopover _owner )
+        public Xcls_btn_commit(RepoStatusPopover _owner )
         {
             _this = _owner;
+            _this.btn_commit = this;
             this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-save", Gtk.IconSize.SMALL_TOOLBAR), null);;
 
             // my vars (dec)