~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Gettext/gtk-gui/MonoDevelop.Gettext.Editor.CatalogHeadersWidget.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
Import upstream version 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        internal partial class CatalogHeadersWidget
6
6
        {
7
7
                private global::Gtk.Notebook notebook1;
8
 
 
9
8
                private global::Gtk.Table table1;
10
 
 
11
9
                private global::Gtk.Entry entryBugzilla;
12
 
 
13
10
                private global::Gtk.Entry entryProjectName;
14
 
 
15
11
                private global::Gtk.Entry entryProjectVersion;
16
 
 
17
12
                private global::Gtk.Label label4;
18
 
 
19
13
                private global::Gtk.Label label5;
20
 
 
21
14
                private global::Gtk.Label label6;
22
 
 
23
15
                private global::Gtk.Label label7;
24
 
 
25
16
                private global::Gtk.Label label8;
26
 
 
27
17
                private global::Gtk.Label label9;
28
 
 
29
18
                private global::Gtk.Label labelPoLastModification;
30
 
 
31
19
                private global::Gtk.Label labelPotCreation;
32
 
 
33
20
                private global::Gtk.ScrolledWindow scrolledwindow1;
34
 
 
35
21
                private global::Gtk.TextView textviewComments;
36
 
 
37
22
                private global::Gtk.Label label3;
38
 
 
39
23
                private global::Gtk.Table table2;
40
 
 
41
24
                private global::Gtk.ComboBoxEntry comboboxentryCharset;
42
 
 
43
25
                private global::Gtk.Entry entryLanguageGroupEmail;
44
 
 
45
26
                private global::Gtk.Entry entryLanguageGroupName;
46
 
 
47
27
                private global::Gtk.Entry entryTranslatorEmail;
48
 
 
49
28
                private global::Gtk.Entry entryTranslatorName;
50
 
 
51
29
                private global::Gtk.HBox hbox2;
52
 
 
53
30
                private global::Gtk.Entry entryPluralsForms;
54
 
 
55
31
                private global::Gtk.Label label10;
56
 
 
57
32
                private global::Gtk.Label label11;
58
 
 
59
33
                private global::Gtk.Label label12;
60
 
 
61
34
                private global::Gtk.Label label13;
62
 
 
63
35
                private global::Gtk.Label label14;
64
 
 
65
36
                private global::Gtk.Label label15;
66
 
 
67
37
                private global::Gtk.Label label2;
68
38
 
69
39
                protected virtual void Build ()
92
62
                        this.entryBugzilla.IsEditable = true;
93
63
                        this.entryBugzilla.InvisibleChar = '●';
94
64
                        this.table1.Add (this.entryBugzilla);
95
 
                        global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryBugzilla]));
 
65
                        global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryBugzilla]));
96
66
                        w1.TopAttach = ((uint)(3));
97
67
                        w1.BottomAttach = ((uint)(4));
98
68
                        w1.LeftAttach = ((uint)(1));
106
76
                        this.entryProjectName.IsEditable = true;
107
77
                        this.entryProjectName.InvisibleChar = '●';
108
78
                        this.table1.Add (this.entryProjectName);
109
 
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryProjectName]));
 
79
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryProjectName]));
110
80
                        w2.TopAttach = ((uint)(1));
111
81
                        w2.BottomAttach = ((uint)(2));
112
82
                        w2.LeftAttach = ((uint)(1));
120
90
                        this.entryProjectVersion.IsEditable = true;
121
91
                        this.entryProjectVersion.InvisibleChar = '●';
122
92
                        this.table1.Add (this.entryProjectVersion);
123
 
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.entryProjectVersion]));
 
93
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryProjectVersion]));
124
94
                        w3.TopAttach = ((uint)(2));
125
95
                        w3.BottomAttach = ((uint)(3));
126
96
                        w3.LeftAttach = ((uint)(1));
130
100
                        // Container child table1.Gtk.Table+TableChild
131
101
                        this.label4 = new global::Gtk.Label ();
132
102
                        this.label4.Name = "label4";
133
 
                        this.label4.Xalign = 0f;
 
103
                        this.label4.Xalign = 0F;
134
104
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Last modification:");
135
105
                        this.table1.Add (this.label4);
136
 
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
 
106
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
137
107
                        w4.TopAttach = ((uint)(5));
138
108
                        w4.BottomAttach = ((uint)(6));
139
109
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
141
111
                        // Container child table1.Gtk.Table+TableChild
142
112
                        this.label5 = new global::Gtk.Label ();
143
113
                        this.label5.Name = "label5";
144
 
                        this.label5.Xalign = 0f;
 
114
                        this.label5.Xalign = 0F;
145
115
                        this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("_Comments:");
146
116
                        this.label5.UseUnderline = true;
147
117
                        this.table1.Add (this.label5);
148
 
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
 
118
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
149
119
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
150
120
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
151
121
                        // Container child table1.Gtk.Table+TableChild
152
122
                        this.label6 = new global::Gtk.Label ();
153
123
                        this.label6.Name = "label6";
154
 
                        this.label6.Xalign = 0f;
 
124
                        this.label6.Xalign = 0F;
155
125
                        this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("_Project name:");
156
126
                        this.label6.UseUnderline = true;
157
127
                        this.table1.Add (this.label6);
158
 
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
 
128
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
159
129
                        w6.TopAttach = ((uint)(1));
160
130
                        w6.BottomAttach = ((uint)(2));
161
131
                        w6.XOptions = ((global::Gtk.AttachOptions)(4));
163
133
                        // Container child table1.Gtk.Table+TableChild
164
134
                        this.label7 = new global::Gtk.Label ();
165
135
                        this.label7.Name = "label7";
166
 
                        this.label7.Xalign = 0f;
 
136
                        this.label7.Xalign = 0F;
167
137
                        this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("P_roject version:");
168
138
                        this.label7.UseUnderline = true;
169
139
                        this.table1.Add (this.label7);
170
 
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label7]));
 
140
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
171
141
                        w7.TopAttach = ((uint)(2));
172
142
                        w7.BottomAttach = ((uint)(3));
173
143
                        w7.XOptions = ((global::Gtk.AttachOptions)(4));
175
145
                        // Container child table1.Gtk.Table+TableChild
176
146
                        this.label8 = new global::Gtk.Label ();
177
147
                        this.label8.Name = "label8";
178
 
                        this.label8.Xalign = 0f;
 
148
                        this.label8.Xalign = 0F;
179
149
                        this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("_Bugzilla URL:");
180
150
                        this.label8.UseUnderline = true;
181
151
                        this.table1.Add (this.label8);
182
 
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
 
152
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
183
153
                        w8.TopAttach = ((uint)(3));
184
154
                        w8.BottomAttach = ((uint)(4));
185
155
                        w8.XOptions = ((global::Gtk.AttachOptions)(4));
187
157
                        // Container child table1.Gtk.Table+TableChild
188
158
                        this.label9 = new global::Gtk.Label ();
189
159
                        this.label9.Name = "label9";
190
 
                        this.label9.Xalign = 0f;
 
160
                        this.label9.Xalign = 0F;
191
161
                        this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Creation date:");
192
162
                        this.table1.Add (this.label9);
193
 
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
 
163
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
194
164
                        w9.TopAttach = ((uint)(4));
195
165
                        w9.BottomAttach = ((uint)(5));
196
166
                        w9.XOptions = ((global::Gtk.AttachOptions)(4));
198
168
                        // Container child table1.Gtk.Table+TableChild
199
169
                        this.labelPoLastModification = new global::Gtk.Label ();
200
170
                        this.labelPoLastModification.Name = "labelPoLastModification";
201
 
                        this.labelPoLastModification.Xalign = 0f;
 
171
                        this.labelPoLastModification.Xalign = 0F;
202
172
                        this.labelPoLastModification.UseMarkup = true;
203
173
                        this.table1.Add (this.labelPoLastModification);
204
 
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.labelPoLastModification]));
 
174
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelPoLastModification]));
205
175
                        w10.TopAttach = ((uint)(5));
206
176
                        w10.BottomAttach = ((uint)(6));
207
177
                        w10.LeftAttach = ((uint)(1));
211
181
                        // Container child table1.Gtk.Table+TableChild
212
182
                        this.labelPotCreation = new global::Gtk.Label ();
213
183
                        this.labelPotCreation.Name = "labelPotCreation";
214
 
                        this.labelPotCreation.Xalign = 0f;
 
184
                        this.labelPotCreation.Xalign = 0F;
215
185
                        this.labelPotCreation.UseMarkup = true;
216
186
                        this.table1.Add (this.labelPotCreation);
217
 
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.labelPotCreation]));
 
187
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelPotCreation]));
218
188
                        w11.TopAttach = ((uint)(4));
219
189
                        w11.BottomAttach = ((uint)(5));
220
190
                        w11.LeftAttach = ((uint)(1));
233
203
                        this.textviewComments.Name = "textviewComments";
234
204
                        this.scrolledwindow1.Add (this.textviewComments);
235
205
                        this.table1.Add (this.scrolledwindow1);
236
 
                        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.scrolledwindow1]));
 
206
                        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.scrolledwindow1]));
237
207
                        w13.LeftAttach = ((uint)(1));
238
208
                        w13.RightAttach = ((uint)(2));
239
209
                        w13.YOptions = ((global::Gtk.AttachOptions)(4));
254
224
                        this.comboboxentryCharset = new global::Gtk.ComboBoxEntry ();
255
225
                        this.comboboxentryCharset.Name = "comboboxentryCharset";
256
226
                        this.table2.Add (this.comboboxentryCharset);
257
 
                        global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.comboboxentryCharset]));
 
227
                        global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboboxentryCharset]));
258
228
                        w15.TopAttach = ((uint)(4));
259
229
                        w15.BottomAttach = ((uint)(5));
260
230
                        w15.LeftAttach = ((uint)(1));
268
238
                        this.entryLanguageGroupEmail.IsEditable = true;
269
239
                        this.entryLanguageGroupEmail.InvisibleChar = '●';
270
240
                        this.table2.Add (this.entryLanguageGroupEmail);
271
 
                        global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.entryLanguageGroupEmail]));
 
241
                        global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryLanguageGroupEmail]));
272
242
                        w16.TopAttach = ((uint)(3));
273
243
                        w16.BottomAttach = ((uint)(4));
274
244
                        w16.LeftAttach = ((uint)(1));
282
252
                        this.entryLanguageGroupName.IsEditable = true;
283
253
                        this.entryLanguageGroupName.InvisibleChar = '●';
284
254
                        this.table2.Add (this.entryLanguageGroupName);
285
 
                        global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.entryLanguageGroupName]));
 
255
                        global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryLanguageGroupName]));
286
256
                        w17.TopAttach = ((uint)(2));
287
257
                        w17.BottomAttach = ((uint)(3));
288
258
                        w17.LeftAttach = ((uint)(1));
296
266
                        this.entryTranslatorEmail.IsEditable = true;
297
267
                        this.entryTranslatorEmail.InvisibleChar = '●';
298
268
                        this.table2.Add (this.entryTranslatorEmail);
299
 
                        global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.entryTranslatorEmail]));
 
269
                        global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryTranslatorEmail]));
300
270
                        w18.TopAttach = ((uint)(1));
301
271
                        w18.BottomAttach = ((uint)(2));
302
272
                        w18.LeftAttach = ((uint)(1));
310
280
                        this.entryTranslatorName.IsEditable = true;
311
281
                        this.entryTranslatorName.InvisibleChar = '●';
312
282
                        this.table2.Add (this.entryTranslatorName);
313
 
                        global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.entryTranslatorName]));
 
283
                        global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryTranslatorName]));
314
284
                        w19.LeftAttach = ((uint)(1));
315
285
                        w19.RightAttach = ((uint)(2));
316
286
                        w19.YOptions = ((global::Gtk.AttachOptions)(4));
325
295
                        this.entryPluralsForms.IsEditable = true;
326
296
                        this.entryPluralsForms.InvisibleChar = '●';
327
297
                        this.hbox2.Add (this.entryPluralsForms);
328
 
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.entryPluralsForms]));
 
298
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entryPluralsForms]));
329
299
                        w20.Position = 0;
330
300
                        this.table2.Add (this.hbox2);
331
 
                        global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2[this.hbox2]));
 
301
                        global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox2]));
332
302
                        w21.TopAttach = ((uint)(5));
333
303
                        w21.BottomAttach = ((uint)(6));
334
304
                        w21.LeftAttach = ((uint)(1));
338
308
                        // Container child table2.Gtk.Table+TableChild
339
309
                        this.label10 = new global::Gtk.Label ();
340
310
                        this.label10.Name = "label10";
341
 
                        this.label10.Xalign = 0f;
 
311
                        this.label10.Xalign = 0F;
342
312
                        this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("_Translator name:");
343
313
                        this.label10.UseUnderline = true;
344
314
                        this.table2.Add (this.label10);
345
 
                        global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2[this.label10]));
 
315
                        global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
346
316
                        w22.XOptions = ((global::Gtk.AttachOptions)(4));
347
317
                        w22.YOptions = ((global::Gtk.AttachOptions)(4));
348
318
                        // Container child table2.Gtk.Table+TableChild
349
319
                        this.label11 = new global::Gtk.Label ();
350
320
                        this.label11.Name = "label11";
351
 
                        this.label11.Xalign = 0f;
 
321
                        this.label11.Xalign = 0F;
352
322
                        this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("T_ranslator e-mail:");
353
323
                        this.label11.UseUnderline = true;
354
324
                        this.table2.Add (this.label11);
355
 
                        global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2[this.label11]));
 
325
                        global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.label11]));
356
326
                        w23.TopAttach = ((uint)(1));
357
327
                        w23.BottomAttach = ((uint)(2));
358
328
                        w23.XOptions = ((global::Gtk.AttachOptions)(4));
360
330
                        // Container child table2.Gtk.Table+TableChild
361
331
                        this.label12 = new global::Gtk.Label ();
362
332
                        this.label12.Name = "label12";
363
 
                        this.label12.Xalign = 0f;
 
333
                        this.label12.Xalign = 0F;
364
334
                        this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("_Language group:");
365
335
                        this.label12.UseUnderline = true;
366
336
                        this.table2.Add (this.label12);
367
 
                        global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2[this.label12]));
 
337
                        global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table2 [this.label12]));
368
338
                        w24.TopAttach = ((uint)(2));
369
339
                        w24.BottomAttach = ((uint)(3));
370
340
                        w24.XOptions = ((global::Gtk.AttachOptions)(4));
372
342
                        // Container child table2.Gtk.Table+TableChild
373
343
                        this.label13 = new global::Gtk.Label ();
374
344
                        this.label13.Name = "label13";
375
 
                        this.label13.Xalign = 0f;
 
345
                        this.label13.Xalign = 0F;
376
346
                        this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("L_anguage group e-mail:");
377
347
                        this.label13.UseUnderline = true;
378
348
                        this.table2.Add (this.label13);
379
 
                        global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.label13]));
 
349
                        global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label13]));
380
350
                        w25.TopAttach = ((uint)(3));
381
351
                        w25.BottomAttach = ((uint)(4));
382
352
                        w25.XOptions = ((global::Gtk.AttachOptions)(4));
384
354
                        // Container child table2.Gtk.Table+TableChild
385
355
                        this.label14 = new global::Gtk.Label ();
386
356
                        this.label14.Name = "label14";
387
 
                        this.label14.Xalign = 0f;
 
357
                        this.label14.Xalign = 0F;
388
358
                        this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("_Charset:");
389
359
                        this.label14.UseUnderline = true;
390
360
                        this.table2.Add (this.label14);
391
 
                        global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.label14]));
 
361
                        global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.label14]));
392
362
                        w26.TopAttach = ((uint)(4));
393
363
                        w26.BottomAttach = ((uint)(5));
394
364
                        w26.XOptions = ((global::Gtk.AttachOptions)(4));
396
366
                        // Container child table2.Gtk.Table+TableChild
397
367
                        this.label15 = new global::Gtk.Label ();
398
368
                        this.label15.Name = "label15";
399
 
                        this.label15.Xalign = 0f;
 
369
                        this.label15.Xalign = 0F;
400
370
                        this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("_Plural forms:");
401
371
                        this.label15.UseUnderline = true;
402
372
                        this.table2.Add (this.label15);
403
 
                        global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2[this.label15]));
 
373
                        global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table2 [this.label15]));
404
374
                        w27.TopAttach = ((uint)(5));
405
375
                        w27.BottomAttach = ((uint)(6));
406
376
                        w27.XOptions = ((global::Gtk.AttachOptions)(4));
407
377
                        w27.YOptions = ((global::Gtk.AttachOptions)(4));
408
378
                        this.notebook1.Add (this.table2);
409
 
                        global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.table2]));
 
379
                        global::Gtk.Notebook.NotebookChild w28 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.table2]));
410
380
                        w28.Position = 1;
411
381
                        // Notebook tab
412
382
                        this.label2 = new global::Gtk.Label ();