+ public class Xcls_ToolButton18 : Object
+ {
+ public Gtk.ToolButton el;
+ private RepoStatusPopover _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ToolButton18(RepoStatusPopover _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.ToolButton( null, "Pull updates" );
+
+ // my vars (dec)
+
+ // set gobject values
+
+ //listeners
+ this.el.button_press_event.connect( () => {
+
+
+ GitMonitor.gitmonitor.stop();
+ _this.repo.git({ "pull" , "--all" });
+ _this.repo.loadStatus();
+ GitMonitor.gitmonitor.start();
+ _this.diff_view.el.get_buffer().set_text(_this.repo.git_diff);
+ _this.status_view.el.get_buffer().set_text(_this.repo.git_status);
+ Clones.singleton().reposStore.load();
+
+ _this.el.hide();
+ return false;
+ });
+ }
+
+ // user defined functions
+ }
+
+ 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
+ }
+
+