X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=RepoStatusPopover.vala;h=26204bee77e450cc6bf3b9a50aa2f28eca33d49e;hp=22966a6a5a014ccbe5e545d715ff2a6dfc6113a2;hb=1cb2e51f700081c066c4db39ada26fcb48e976dd;hpb=878e8dcc80b84893f8bf523a58e3c45d76474b63 diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index 22966a6a..26204bee 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -12,6 +12,7 @@ public class RepoStatusPopover : Object } return _RepoStatusPopover; } + public Xcls_btn_stash btn_stash; public Xcls_label_status label_status; public Xcls_label_diff label_diff; public Xcls_status_view status_view; @@ -158,7 +159,7 @@ public class RepoStatusPopover : Object // set gobject values this.el.toolbar_style = Gtk.ToolbarStyle.BOTH_HORIZ; - var child_0 = new Xcls_ToolButton5( _this ); + var child_0 = new Xcls_btn_stash( _this ); child_0.ref(); this.el.add ( child_0.el ); var child_1 = new Xcls_ToolButton6( _this ); @@ -174,7 +175,7 @@ public class RepoStatusPopover : Object // user defined functions } - public class Xcls_ToolButton5 : Object + public class Xcls_btn_stash : Object { public Gtk.ToolButton el; private RepoStatusPopover _this; @@ -183,9 +184,10 @@ public class RepoStatusPopover : Object // my vars (def) // ctor - public Xcls_ToolButton5(RepoStatusPopover _owner ) + public Xcls_btn_stash(RepoStatusPopover _owner ) { _this = _owner; + _this.btn_stash = this; this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-undo", Gtk.IconSize.SMALL_TOOLBAR), null);; // my vars (dec)