public Xcls_label_select_ticket label_select_ticket;
public Xcls_label_create_ticket label_create_ticket;
public Xcls_label_quick_commit label_quick_commit;
+ public Xcls_select_ticket_tab select_ticket_tab;
public Xcls_projectsel projectsel;
public Xcls_prcellrenderer prcellrenderer;
public Xcls_prmodel prmodel;
public Xcls_devmodel devmodel;
public Xcls_commit_message commit_message;
public Xcls_createbtn createbtn;
+ public Xcls_diff_view diff_view;
// my vars (def)
public GitRepo? repo;
_this.ticketsel.el.get_child().get_style_context().add_class("warning");
}
_this.view.loadTicket(tid);
+
+
+
+
+
+
+
this.el.run();
}
child_1.ref();
var child_2 = new Xcls_label_quick_commit( _this );
child_2.ref();
- var child_3 = new Xcls_Box6( _this );
+ var child_3 = new Xcls_select_ticket_tab( _this );
child_3.ref();
this.el.append_page ( child_3.el , _this.label_select_ticket.el );
var child_4 = new Xcls_Box25( _this );
// user defined functions
}
- public class Xcls_Box6 : Object
+ public class Xcls_select_ticket_tab : Object
{
public Gtk.Box el;
private NewBranch _this;
// my vars (def)
// ctor
- public Xcls_Box6(NewBranch _owner )
+ public Xcls_select_ticket_tab(NewBranch _owner )
{
_this = _owner;
+ _this.select_ticket_tab = this;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
// my vars (dec)
}
// user defined functions
+ public void load_data () {
+
+ }
}
public class Xcls_Table7 : Object
{
var child_0 = new Xcls_Table52( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,false,0 );
+ var child_1 = new Xcls_ScrolledWindow56( _this );
+ child_1.ref();
+ this.el.add ( child_1.el );
}
// user defined functions
public Xcls_Table52(NewBranch _owner )
{
_this = _owner;
- this.el = new Gtk.Table( 5, 5, true );
+ this.el = new Gtk.Table( 2, 5, true );
// my vars (dec)
public Xcls_Label53(NewBranch _owner )
{
_this = _owner;
- this.el = new Gtk.Label( "Commit Message" );
+ this.el = new Gtk.Label( "Just commit with this comment" );
// my vars (dec)
}
+ public class Xcls_ScrolledWindow56 : Object
+ {
+ public Gtk.ScrolledWindow el;
+ private NewBranch _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_ScrolledWindow56(NewBranch _owner )
+ {
+ _this = _owner;
+ this.el = new Gtk.ScrolledWindow( null, null );
+
+ // my vars (dec)
+
+ // set gobject values
+ this.el.height_request = 400;
+ this.el.vexpand = true;
+ var child_0 = new Xcls_diff_view( _this );
+ child_0.ref();
+ this.el.add ( child_0.el );
+ }
+
+ // user defined functions
+ }
+ public class Xcls_diff_view : Object
+ {
+ public Gtk.SourceView el;
+ private NewBranch _this;
+
+
+ // my vars (def)
+
+ // ctor
+ public Xcls_diff_view(NewBranch _owner )
+ {
+ _this = _owner;
+ _this.diff_view = this;
+ this.el = new Gtk.SourceView();
+
+ // my vars (dec)
+
+ // init method
+
+ var description = Pango.FontDescription.from_string("monospace");
+ description.set_size(9000);
+ this.el.override_font(description);
+ var lm = Gtk.SourceLanguageManager.get_default();
+
+ ((Gtk.SourceBuffer)(this.el.get_buffer())).set_language(
+ lm.get_language("diff")
+ );
+ }
+
+ // user defined functions
+ }
+
+
}