projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48f4485
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 04:39:24 +0000
(12:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 04:39:24 +0000
(12:39 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
b78ded8
..
aeb46a2
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-25,13
+25,7
@@
"bool modal" : true,
"items" : [
{
"bool modal" : true,
"items" : [
{
- "xtype" : "Box",
- "$ pack" : "get_content_area().add",
- "$ xns" : "Gtk",
- "Gtk.Orientation orientation" : "Gtk.Orientation.VERTICAL"
- },
- {
- "* pack" : "add",
+ "* pack" : "get_content_area().add",
"xtype" : "Notebook",
"$ xns" : "Gtk",
"bool vexpand" : true,
"xtype" : "Notebook",
"$ xns" : "Gtk",
"bool vexpand" : true,
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
8a3bfe7
..
80ef0bd
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-50,12
+50,9
@@
public class NewBranch : Object
this.el.default_width = 500;
this.el.deletable = true;
this.el.modal = true;
this.el.default_width = 500;
this.el.deletable = true;
this.el.modal = true;
- var child_0 = new Xcls_
Box
2( _this );
+ var child_0 = new Xcls_
Notebook
2( _this );
child_0.ref();
this.el.get_content_area().add ( child_0.el );
child_0.ref();
this.el.get_content_area().add ( child_0.el );
- var child_1 = new Xcls_Notebook3( _this );
- child_1.ref();
- this.el.add ( child_1.el );
//listeners
this.el.delete_event.connect( (self, event) => {
//listeners
this.el.delete_event.connect( (self, event) => {
@@
-154,29
+151,7
@@
public class NewBranch : Object
this.el.run();
}
this.el.run();
}
- public class Xcls_Box2 : Object
- {
- public Gtk.Box el;
- private NewBranch _this;
-
-
- // my vars (def)
-
- // ctor
- public Xcls_Box2(NewBranch _owner )
- {
- _this = _owner;
- this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
-
- // my vars (dec)
-
- // set gobject values
- }
-
- // user defined functions
- }
-
- public class Xcls_Notebook3 : Object
+ public class Xcls_Notebook2 : Object
{
public Gtk.Notebook el;
private NewBranch _this;
{
public Gtk.Notebook el;
private NewBranch _this;
@@
-185,7
+160,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Notebook
3
(NewBranch _owner )
+ public Xcls_Notebook
2
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Notebook();
{
_this = _owner;
this.el = new Gtk.Notebook();
@@
-200,13
+175,13
@@
public class NewBranch : Object
child_1.ref();
var child_2 = new Xcls_label_quick_commit( _this );
child_2.ref();
child_1.ref();
var child_2 = new Xcls_label_quick_commit( _this );
child_2.ref();
- var child_3 = new Xcls_Box
7
( _this );
+ var child_3 = new Xcls_Box
6
( _this );
child_3.ref();
this.el.append_page ( child_3.el , _this.label_select_ticket.el );
child_3.ref();
this.el.append_page ( child_3.el , _this.label_select_ticket.el );
- var child_4 = new Xcls_Box2
7
( _this );
+ var child_4 = new Xcls_Box2
6
( _this );
child_4.ref();
this.el.append_page ( child_4.el , _this.label_create_ticket.el );
child_4.ref();
this.el.append_page ( child_4.el , _this.label_create_ticket.el );
- var child_5 = new Xcls_Box2
8
( _this );
+ var child_5 = new Xcls_Box2
7
( _this );
child_5.ref();
this.el.append_page ( child_5.el , _this.label_quick_commit.el );
}
child_5.ref();
this.el.append_page ( child_5.el , _this.label_quick_commit.el );
}
@@
-282,7
+257,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Box
7
: Object
+ public class Xcls_Box
6
: Object
{
public Gtk.Box el;
private NewBranch _this;
{
public Gtk.Box el;
private NewBranch _this;
@@
-291,7
+266,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Box
7
(NewBranch _owner )
+ public Xcls_Box
6
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
@@
-300,7
+275,7
@@
public class NewBranch : Object
// set gobject values
this.el.homogeneous = false;
// set gobject values
this.el.homogeneous = false;
- var child_0 = new Xcls_Table
8
( _this );
+ var child_0 = new Xcls_Table
7
( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,false,0 );
var child_1 = new Xcls_scrolled_window( _this );
child_0.ref();
this.el.pack_start ( child_0.el , false,false,0 );
var child_1 = new Xcls_scrolled_window( _this );
@@
-310,7
+285,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Table
8
: Object
+ public class Xcls_Table
7
: Object
{
public Gtk.Table el;
private NewBranch _this;
{
public Gtk.Table el;
private NewBranch _this;
@@
-319,7
+294,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Table
8
(NewBranch _owner )
+ public Xcls_Table
7
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Table( 5, 5, true );
{
_this = _owner;
this.el = new Gtk.Table( 5, 5, true );
@@
-331,10
+306,10
@@
public class NewBranch : Object
this.el.margin = 2;
this.el.column_spacing = 4;
this.el.vexpand = false;
this.el.margin = 2;
this.el.column_spacing = 4;
this.el.vexpand = false;
- var child_0 = new Xcls_Label
9
( _this );
+ var child_0 = new Xcls_Label
8
( _this );
child_0.ref();
this.el.attach_defaults ( child_0.el , 0,1,0,1 );
child_0.ref();
this.el.attach_defaults ( child_0.el , 0,1,0,1 );
- var child_1 = new Xcls_Label
10
( _this );
+ var child_1 = new Xcls_Label
9
( _this );
child_1.ref();
this.el.attach_defaults ( child_1.el , 1,2,0,1 );
var child_2 = new Xcls_projectsel( _this );
child_1.ref();
this.el.attach_defaults ( child_1.el , 1,2,0,1 );
var child_2 = new Xcls_projectsel( _this );
@@
-343,10
+318,10
@@
public class NewBranch : Object
var child_3 = new Xcls_ticketsel( _this );
child_3.ref();
this.el.attach_defaults ( child_3.el , 1,4,1,2 );
var child_3 = new Xcls_ticketsel( _this );
child_3.ref();
this.el.attach_defaults ( child_3.el , 1,4,1,2 );
- var child_4 = new Xcls_Button1
7
( _this );
+ var child_4 = new Xcls_Button1
6
( _this );
child_4.ref();
this.el.attach_defaults ( child_4.el , 4,5,1,2 );
child_4.ref();
this.el.attach_defaults ( child_4.el , 4,5,1,2 );
- var child_5 = new Xcls_Label1
8
( _this );
+ var child_5 = new Xcls_Label1
7
( _this );
child_5.ref();
this.el.attach_defaults ( child_5.el , 0,1,3,4 );
var child_6 = new Xcls_name( _this );
child_5.ref();
this.el.attach_defaults ( child_5.el , 0,1,3,4 );
var child_6 = new Xcls_name( _this );
@@
-355,14
+330,14
@@
public class NewBranch : Object
var child_7 = new Xcls_createbtn( _this );
child_7.ref();
this.el.attach_defaults ( child_7.el , 4,5,4,5 );
var child_7 = new Xcls_createbtn( _this );
child_7.ref();
this.el.attach_defaults ( child_7.el , 4,5,4,5 );
- var child_8 = new Xcls_Box2
1
( _this );
+ var child_8 = new Xcls_Box2
0
( _this );
child_8.ref();
this.el.attach_defaults ( child_8.el , 0,5,2,3 );
}
// user defined functions
}
child_8.ref();
this.el.attach_defaults ( child_8.el , 0,5,2,3 );
}
// user defined functions
}
- public class Xcls_Label
9
: Object
+ public class Xcls_Label
8
: Object
{
public Gtk.Label el;
private NewBranch _this;
{
public Gtk.Label el;
private NewBranch _this;
@@
-371,7
+346,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Label
9
(NewBranch _owner )
+ public Xcls_Label
8
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Label( "Project" );
{
_this = _owner;
this.el = new Gtk.Label( "Project" );
@@
-387,7
+362,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Label
10
: Object
+ public class Xcls_Label
9
: Object
{
public Gtk.Label el;
private NewBranch _this;
{
public Gtk.Label el;
private NewBranch _this;
@@
-396,7
+371,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Label
10
(NewBranch _owner )
+ public Xcls_Label
9
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Label( "Ticket" );
{
_this = _owner;
this.el = new Gtk.Label( "Ticket" );
@@
-748,7
+723,7
@@
public class NewBranch : Object
}
}
- public class Xcls_Button1
7
: Object
+ public class Xcls_Button1
6
: Object
{
public Gtk.Button el;
private NewBranch _this;
{
public Gtk.Button el;
private NewBranch _this;
@@
-757,7
+732,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Button1
7
(NewBranch _owner )
+ public Xcls_Button1
6
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Button();
{
_this = _owner;
this.el = new Gtk.Button();
@@
-779,7
+754,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Label1
8
: Object
+ public class Xcls_Label1
7
: Object
{
public Gtk.Label el;
private NewBranch _this;
{
public Gtk.Label el;
private NewBranch _this;
@@
-788,7
+763,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Label1
8
(NewBranch _owner )
+ public Xcls_Label1
7
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Label( "Use this as branch name" );
{
_this = _owner;
this.el = new Gtk.Label( "Use this as branch name" );
@@
-885,7
+860,7
@@
public class NewBranch : Object
}
}
}
}
- public class Xcls_Box2
1
: Object
+ public class Xcls_Box2
0
: Object
{
public Gtk.Box el;
private NewBranch _this;
{
public Gtk.Box el;
private NewBranch _this;
@@
-894,7
+869,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Box2
1
(NewBranch _owner )
+ public Xcls_Box2
0
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.HORIZONTAL, 0 );
@@
-908,7
+883,7
@@
public class NewBranch : Object
var child_1 = new Xcls_btn_closed( _this );
child_1.ref();
this.el.add ( child_1.el );
var child_1 = new Xcls_btn_closed( _this );
child_1.ref();
this.el.add ( child_1.el );
- var child_2 = new Xcls_Label2
4
( _this );
+ var child_2 = new Xcls_Label2
3
( _this );
child_2.ref();
this.el.add ( child_2.el );
}
child_2.ref();
this.el.add ( child_2.el );
}
@@
-976,7
+951,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Label2
4
: Object
+ public class Xcls_Label2
3
: Object
{
public Gtk.Label el;
private NewBranch _this;
{
public Gtk.Label el;
private NewBranch _this;
@@
-985,7
+960,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Label2
4
(NewBranch _owner )
+ public Xcls_Label2
3
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Label( "<a href=\"refresh\">Refresh Ticket list</a>" );
{
_this = _owner;
this.el = new Gtk.Label( "<a href=\"refresh\">Refresh Ticket list</a>" );
@@
-1093,7
+1068,7
@@
public class NewBranch : Object
- public class Xcls_Box2
7
: Object
+ public class Xcls_Box2
6
: Object
{
public Gtk.Box el;
private NewBranch _this;
{
public Gtk.Box el;
private NewBranch _this;
@@
-1102,7
+1077,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Box2
7
(NewBranch _owner )
+ public Xcls_Box2
6
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
@@
-1116,7
+1091,7
@@
public class NewBranch : Object
// user defined functions
}
// user defined functions
}
- public class Xcls_Box2
8
: Object
+ public class Xcls_Box2
7
: Object
{
public Gtk.Box el;
private NewBranch _this;
{
public Gtk.Box el;
private NewBranch _this;
@@
-1125,7
+1100,7
@@
public class NewBranch : Object
// my vars (def)
// ctor
// my vars (def)
// ctor
- public Xcls_Box2
8
(NewBranch _owner )
+ public Xcls_Box2
7
(NewBranch _owner )
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );
{
_this = _owner;
this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 );