RepoStatusPopover.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2018 05:10:34 +0000 (13:10 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 19 Dec 2018 05:10:34 +0000 (13:10 +0800)
RepoStatusPopover.vala

RepoStatusPopover.bjs
RepoStatusPopover.vala

index b9c68f2..eeb8120 100644 (file)
             "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 Gtk.ToolButton(new Gtk.Image.from_icon_name (\"window-close\", Gtk.IconSize.SMALL_TOOLBAR))",
+           "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"window-close\", Gtk.IconSize.SMALL_TOOLBAR), null)",
            "* pack" : "add",
            "xtype" : "ToolButton",
            "$ xns" : "Gtk"
index 8053cc0..ddf4517 100644 (file)
@@ -628,7 +628,7 @@ public class RepoStatusPopover : Object
         public Xcls_ToolButton20(RepoStatusPopover _owner )
         {
             _this = _owner;
-            this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("window-close", Gtk.IconSize.SMALL_TOOLBAR));
+            this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("window-close", Gtk.IconSize.SMALL_TOOLBAR), null);
 
             // my vars (dec)