38
34
private Gtk.Label label7;
36
private Gtk.Alignment alignment1;
38
private Gtk.Alignment alignment2;
40
private Gtk.CheckButton checkVersionControl;
42
private Gtk.Alignment alignment3;
44
private Gtk.CheckButton checkRequireOnCommit;
46
private Gtk.Label label1;
48
private Gtk.VBox vbox1;
50
private MonoDevelop.VersionControl.CommitMessageStylePanelWidget messageWidget;
52
private Gtk.Label label2;
40
54
protected virtual void Build() {
41
55
Stetic.Gui.Initialize(this);
42
56
// Widget MonoDevelop.ChangeLogAddIn.ProjectOptionPanelWidget
43
57
Stetic.BinContainer.Attach(this);
44
58
this.Name = "MonoDevelop.ChangeLogAddIn.ProjectOptionPanelWidget";
45
59
// Container child MonoDevelop.ChangeLogAddIn.ProjectOptionPanelWidget.Gtk.Container+ContainerChild
60
this.notebook1 = new Gtk.Notebook();
61
this.notebook1.CanFocus = true;
62
this.notebook1.Name = "notebook1";
63
this.notebook1.CurrentPage = 0;
64
// Container child notebook1.Gtk.Notebook+NotebookChild
46
65
this.vbox2 = new Gtk.VBox();
47
66
this.vbox2.Name = "vbox2";
48
67
this.vbox2.Spacing = 6;
49
// Container child vbox2.Gtk.Box+BoxChild
50
this.label1 = new Gtk.Label();
51
this.label1.Name = "label1";
52
this.label1.Xalign = 0F;
53
this.label1.LabelProp = Mono.Unix.Catalog.GetString("Select the ChangeLog policy that applies for this project:");
54
this.vbox2.Add(this.label1);
55
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
59
// Container child vbox2.Gtk.Box+BoxChild
60
this.parentRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("radiobutton2"));
61
this.parentRadioButton.CanFocus = true;
62
this.parentRadioButton.Name = "parentRadioButton";
63
this.parentRadioButton.DrawIndicator = true;
64
this.parentRadioButton.UseUnderline = true;
65
this.parentRadioButton.Group = new GLib.SList(System.IntPtr.Zero);
66
this.parentRadioButton.Remove(this.parentRadioButton.Child);
67
// Container child parentRadioButton.Gtk.Container+ContainerChild
68
this.label4 = new Gtk.Label();
69
this.label4.Name = "label4";
70
this.label4.LabelProp = Mono.Unix.Catalog.GetString("<b>Use parent solution policy</b>\nApply the policy specified in the parent solution.");
71
this.label4.UseMarkup = true;
72
this.parentRadioButton.Add(this.label4);
73
this.vbox2.Add(this.parentRadioButton);
74
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.parentRadioButton]));
68
this.vbox2.BorderWidth = ((uint)(6));
78
69
// Container child vbox2.Gtk.Box+BoxChild
79
70
this.noneRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("radiobutton1"));
80
71
this.noneRadioButton.CanFocus = true;
81
72
this.noneRadioButton.Name = "noneRadioButton";
73
this.noneRadioButton.Active = true;
82
74
this.noneRadioButton.DrawIndicator = true;
83
75
this.noneRadioButton.UseUnderline = true;
84
this.noneRadioButton.Group = this.parentRadioButton.Group;
76
this.noneRadioButton.Group = new GLib.SList(System.IntPtr.Zero);
85
77
this.noneRadioButton.Remove(this.noneRadioButton.Child);
86
78
// Container child noneRadioButton.Gtk.Container+ContainerChild
87
79
this.label3 = new Gtk.Label();
90
82
this.label3.UseMarkup = true;
91
83
this.noneRadioButton.Add(this.label3);
92
84
this.vbox2.Add(this.noneRadioButton);
93
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.noneRadioButton]));
85
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.noneRadioButton]));
97
89
// Container child vbox2.Gtk.Box+BoxChild
98
90
this.nearestRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Custom policy"));
99
91
this.nearestRadioButton.CanFocus = true;
100
92
this.nearestRadioButton.Name = "nearestRadioButton";
101
93
this.nearestRadioButton.DrawIndicator = true;
102
94
this.nearestRadioButton.UseUnderline = true;
103
this.nearestRadioButton.Group = this.parentRadioButton.Group;
95
this.nearestRadioButton.Group = this.noneRadioButton.Group;
104
96
this.nearestRadioButton.Remove(this.nearestRadioButton.Child);
105
97
// Container child nearestRadioButton.Gtk.Container+ContainerChild
106
98
this.label5 = new Gtk.Label();
111
103
this.label5.Wrap = true;
112
104
this.nearestRadioButton.Add(this.label5);
113
105
this.vbox2.Add(this.nearestRadioButton);
114
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.nearestRadioButton]));
106
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.nearestRadioButton]));
118
110
// Container child vbox2.Gtk.Box+BoxChild
119
111
this.oneChangeLogInProjectRootDirectoryRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("One ChangeLog in the project root directory"));
120
112
this.oneChangeLogInProjectRootDirectoryRadioButton.CanFocus = true;
121
113
this.oneChangeLogInProjectRootDirectoryRadioButton.Name = "oneChangeLogInProjectRootDirectoryRadioButton";
122
114
this.oneChangeLogInProjectRootDirectoryRadioButton.DrawIndicator = true;
123
115
this.oneChangeLogInProjectRootDirectoryRadioButton.UseUnderline = true;
124
this.oneChangeLogInProjectRootDirectoryRadioButton.Group = this.parentRadioButton.Group;
116
this.oneChangeLogInProjectRootDirectoryRadioButton.Group = this.noneRadioButton.Group;
125
117
this.oneChangeLogInProjectRootDirectoryRadioButton.Remove(this.oneChangeLogInProjectRootDirectoryRadioButton.Child);
126
118
// Container child oneChangeLogInProjectRootDirectoryRadioButton.Gtk.Container+ContainerChild
127
119
this.label6 = new Gtk.Label();
132
124
this.label6.Wrap = true;
133
125
this.oneChangeLogInProjectRootDirectoryRadioButton.Add(this.label6);
134
126
this.vbox2.Add(this.oneChangeLogInProjectRootDirectoryRadioButton);
135
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.oneChangeLogInProjectRootDirectoryRadioButton]));
127
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.oneChangeLogInProjectRootDirectoryRadioButton]));
139
131
// Container child vbox2.Gtk.Box+BoxChild
140
132
this.oneChangeLogInEachDirectoryRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("One ChangeLog in each directory"));
141
133
this.oneChangeLogInEachDirectoryRadioButton.CanFocus = true;
142
134
this.oneChangeLogInEachDirectoryRadioButton.Name = "oneChangeLogInEachDirectoryRadioButton";
143
135
this.oneChangeLogInEachDirectoryRadioButton.DrawIndicator = true;
144
136
this.oneChangeLogInEachDirectoryRadioButton.UseUnderline = true;
145
this.oneChangeLogInEachDirectoryRadioButton.Group = this.parentRadioButton.Group;
137
this.oneChangeLogInEachDirectoryRadioButton.Group = this.noneRadioButton.Group;
146
138
this.oneChangeLogInEachDirectoryRadioButton.Remove(this.oneChangeLogInEachDirectoryRadioButton.Child);
147
139
// Container child oneChangeLogInEachDirectoryRadioButton.Gtk.Container+ContainerChild
148
140
this.label7 = new Gtk.Label();
153
145
this.label7.Wrap = true;
154
146
this.oneChangeLogInEachDirectoryRadioButton.Add(this.label7);
155
147
this.vbox2.Add(this.oneChangeLogInEachDirectoryRadioButton);
156
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.oneChangeLogInEachDirectoryRadioButton]));
148
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox2[this.oneChangeLogInEachDirectoryRadioButton]));
152
// Container child vbox2.Gtk.Box+BoxChild
153
this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
154
this.alignment1.Name = "alignment1";
155
// Container child alignment1.Gtk.Container+ContainerChild
156
this.alignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
157
this.alignment2.Name = "alignment2";
158
this.alignment2.TopPadding = ((uint)(18));
159
// Container child alignment2.Gtk.Container+ContainerChild
160
this.checkVersionControl = new Gtk.CheckButton();
161
this.checkVersionControl.CanFocus = true;
162
this.checkVersionControl.Name = "checkVersionControl";
163
this.checkVersionControl.Label = Mono.Unix.Catalog.GetString("Integrate with _version control");
164
this.checkVersionControl.DrawIndicator = true;
165
this.checkVersionControl.UseUnderline = true;
166
this.alignment2.Add(this.checkVersionControl);
167
this.alignment1.Add(this.alignment2);
168
this.vbox2.Add(this.alignment1);
169
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
158
171
w11.Expand = false;
159
172
w11.Fill = false;
160
this.Add(this.vbox2);
173
// Container child vbox2.Gtk.Box+BoxChild
174
this.alignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
175
this.alignment3.Name = "alignment3";
176
this.alignment3.LeftPadding = ((uint)(24));
177
// Container child alignment3.Gtk.Container+ContainerChild
178
this.checkRequireOnCommit = new Gtk.CheckButton();
179
this.checkRequireOnCommit.CanFocus = true;
180
this.checkRequireOnCommit.Name = "checkRequireOnCommit";
181
this.checkRequireOnCommit.Label = Mono.Unix.Catalog.GetString("_Require ChangeLog entries for all files when committing");
182
this.checkRequireOnCommit.DrawIndicator = true;
183
this.checkRequireOnCommit.UseUnderline = true;
184
this.alignment3.Add(this.checkRequireOnCommit);
185
this.vbox2.Add(this.alignment3);
186
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment3]));
187
w13.PackType = ((Gtk.PackType)(1));
191
this.notebook1.Add(this.vbox2);
193
this.label1 = new Gtk.Label();
194
this.label1.Name = "label1";
195
this.label1.LabelProp = Mono.Unix.Catalog.GetString("ChangeLog Generation");
196
this.notebook1.SetTabLabel(this.vbox2, this.label1);
197
this.label1.ShowAll();
198
// Container child notebook1.Gtk.Notebook+NotebookChild
199
this.vbox1 = new Gtk.VBox();
200
this.vbox1.Name = "vbox1";
201
this.vbox1.Spacing = 6;
202
this.vbox1.BorderWidth = ((uint)(9));
203
// Container child vbox1.Gtk.Box+BoxChild
204
this.messageWidget = new MonoDevelop.VersionControl.CommitMessageStylePanelWidget();
205
this.messageWidget.Events = ((Gdk.EventMask)(256));
206
this.messageWidget.Name = "messageWidget";
207
this.vbox1.Add(this.messageWidget);
208
Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.vbox1[this.messageWidget]));
210
this.notebook1.Add(this.vbox1);
211
Gtk.Notebook.NotebookChild w16 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox1]));
214
this.label2 = new Gtk.Label();
215
this.label2.Name = "label2";
216
this.label2.LabelProp = Mono.Unix.Catalog.GetString("Message Style");
217
this.notebook1.SetTabLabel(this.vbox1, this.label2);
218
this.label2.ShowAll();
219
this.Add(this.notebook1);
161
220
if ((this.Child != null)) {
162
221
this.Child.ShowAll();
224
this.noneRadioButton.Toggled += new System.EventHandler(this.ValueChanged);
225
this.nearestRadioButton.Toggled += new System.EventHandler(this.ValueChanged);
226
this.oneChangeLogInProjectRootDirectoryRadioButton.Toggled += new System.EventHandler(this.ValueChanged);
227
this.oneChangeLogInEachDirectoryRadioButton.Toggled += new System.EventHandler(this.ValueChanged);
228
this.checkVersionControl.Toggled += new System.EventHandler(this.ValueChanged);
229
this.checkRequireOnCommit.Toggled += new System.EventHandler(this.ValueChanged);
230
this.messageWidget.Changed += new System.EventHandler(this.OnMessageWidgetChanged);