From: Alan Knowles Date: Wed, 19 Dec 2018 05:04:32 +0000 (+0800) Subject: RepoStatusPopover.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=68b480d67843927a38e1a087aa75cdaf40daa394 RepoStatusPopover.bjs RepoStatusPopover.vala --- diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index 23f40249..7d052174 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -160,6 +160,7 @@ "button_press_event" : "() => {\n \n\n\n Clones.singleton().el.response(-1);\n \n _this.el.hide();\n Ticket.singleton().show( _this.repo);\n \n return false;\n}" }, "label" : "Create Ticket", + "* ctor" : "new GtkButton.new_from_stock()", "* pack" : "add", "xtype" : "Button", "$ xns" : "Gtk" diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index 88f670ad..9e40c63d 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -610,7 +610,7 @@ public class RepoStatusPopover : Object public Xcls_Button19(RepoStatusPopover _owner ) { _this = _owner; - this.el = new Gtk.Button(); + this.el = new GtkButton.new_from_stock(); // my vars (dec)