+ public class Xcls_ToolButton19 : Object
+ {
+ public Gtk.ToolButton el;
+ private RepoStatusPopover _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ToolButton19(RepoStatusPopover _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.ToolButton( null, "Merge branch/ ticket" );
+
+ // my vars (dec)
+
+ // set gobject values
+
+ //listeners
+ this.el.button_press_event.connect( () => {
+
+ _this.el.hide();
+ Clones.singleton().el.response(-1);
+ if (_this.repo.activeTicket != null) {
+ MergeBranch.singleton().show(_this.repo.activeTicket, null);
+ }
+ return false;
+ });
+ }
+
+ // user defined functions
+ }
+
+ public class Xcls_ToolButton20 : Object
+ {
+ public Gtk.ToolButton el;
+ private RepoStatusPopover _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ToolButton20(RepoStatusPopover _owner )
+ {
+ _this = _owner;
+ this.el = new GtkButton.new_from_stock();
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.label = "Create Ticket";
+
+ //listeners
+ this.el.button_press_event.connect( () => {
+
+
+
+ Clones.singleton().el.response(-1);
+
+ _this.el.hide();
+ Ticket.singleton().show( _this.repo);
+
+ return false;
+ });
+ }
+
+ // user defined functions
+ }
+
+