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

RepoStatusPopover.bjs
RepoStatusPopover.vala

index 32dc503..abd78e6 100644 (file)
             "button_press_event" : "() => {\n   var oldq = new Gee.ArrayList<GitMonitorQueue>();  \n\n\tClones.singleton().el.response(-1);\n\tNewBranch.singleton().show(_this.repo, oldq);\n\n    return false;\n}"
            },
            "label" : "Create Branch / Start ticket",
+           "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"gtk-goto-top\", Gtk.IconSize.SMALL_TOOLBAR), null);",
            "xtype" : "ToolButton",
            "* pack" : "add",
            "$ xns" : "Gtk"
index d08e958..082e239 100644 (file)
@@ -488,11 +488,12 @@ public class RepoStatusPopover : Object
         public Xcls_ToolButton16(RepoStatusPopover _owner )
         {
             _this = _owner;
-            this.el = new Gtk.ToolButton( null, "Create Branch / Start ticket" );
+            this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-goto-top", Gtk.IconSize.SMALL_TOOLBAR), null);;
 
             // my vars (dec)
 
             // set gobject values
+            this.el.label = "Create Branch / Start ticket";
 
             //listeners
             this.el.button_press_event.connect( () => {