RepoStatusPopover.bjs
[gitlive] / RepoStatusPopover.bjs
index 2431332..11ea1bd 100644 (file)
        "gboolean vexpand" : false,
        "items" : [
         {
+         "Gtk.ToolbarStyle toolbar_style" : "Gtk.ToolbarStyle.BOTH_HORIZ",
          "* pack" : "add",
          "xtype" : "Toolbar",
          "$ xns" : "Gtk",
             "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()",
+           "* ctor" : "new Gtk.ToolButton(new Gtk.Image.from_icon_name (\"gtk-new\", Gtk.IconSize.SMALL_TOOLBAR), null)",
            "* pack" : "add",
            "xtype" : "ToolButton",
            "$ xns" : "Gtk"