From 68b480d67843927a38e1a087aa75cdaf40daa394 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 13:04:32 +0800 Subject: [PATCH] RepoStatusPopover.bjs RepoStatusPopover.vala --- RepoStatusPopover.bjs | 1 + RepoStatusPopover.vala | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2