// my vars (dec)
// set gobject values
+ this.el.toolbar_style = Gtk.ToolbarStyle.BOTH_HORIZ;
var child_0 = new Xcls_ToolButton14( _this );
child_0.ref();
this.el.add ( child_0.el );
public Xcls_ToolButton14(RepoStatusPopover _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton( null, "Stash Changes" );
+ this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-undo", Gtk.IconSize.SMALL_TOOLBAR), null);;
// my vars (dec)
// set gobject values
+ this.el.label = "Stash Changes";
+ this.el.is_important = true;
//listeners
this.el.button_press_event.connect( () => {
public Xcls_ToolButton15(RepoStatusPopover _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton( null, "Commit Changes" );
+ this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-save", Gtk.IconSize.SMALL_TOOLBAR), null);;
// my vars (dec)
// set gobject values
+ this.el.label = "Commit Changes";
+ this.el.is_important = true;
//listeners
this.el.button_press_event.connect( () => {
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-add", Gtk.IconSize.SMALL_TOOLBAR), null);;
// my vars (dec)
// set gobject values
+ this.el.label = "Create Branch / Start ticket";
+ this.el.is_important = true;
//listeners
this.el.button_press_event.connect( () => {
public Xcls_ToolButton17(RepoStatusPopover _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton( null, "Reset to remote" );
+ this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-revert-to-saved", Gtk.IconSize.SMALL_TOOLBAR), null);;
// my vars (dec)
// set gobject values
+ this.el.label = "Reset / clear changes";
+ this.el.is_important = true;
//listeners
this.el.button_press_event.connect( () => {
public Xcls_ToolButton18(RepoStatusPopover _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton( null, "Pull updates" );
+ this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-goto-bottom", Gtk.IconSize.SMALL_TOOLBAR), null);;
// my vars (dec)
// set gobject values
+ this.el.label = "Pull updates";
+ this.el.is_important = true;
//listeners
this.el.button_press_event.connect( () => {
public Xcls_ToolButton19(RepoStatusPopover _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton( null, "Merge branch/ 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 = "Merge branch/ ticket";
//listeners
this.el.button_press_event.connect( () => {
public Xcls_ToolButton20(RepoStatusPopover _owner )
{
_this = _owner;
- this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-new", Gtk.IconSize.SMALL_TOOLBAR), null);
+ this.el = new Gtk.ToolButton(new Gtk.Image.from_icon_name ("gtk-new", Gtk.IconSize.SMALL_TOOLBAR), null);;
// my vars (dec)