X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.vala;h=f9e9452eb537bd8772a041b3e7a9158afb8ab6e2;hp=26204bee77e450cc6bf3b9a50aa2f28eca33d49e;hb=15fe22ff104c34a6b6b6ec6fcb71f53f522096ce;hpb=1cb2e51f700081c066c4db39ada26fcb48e976dd diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index 26204bee..f9e9452e 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -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)