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

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl.Subversion/gtk-gui/MonoDevelop.VersionControl.Subversion.Gui.SslServerTrustDialog.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
        public partial class SslServerTrustDialog
6
6
        {
7
7
                private global::Gtk.HBox hbox1;
8
 
 
9
8
                private global::Gtk.VBox vbox2;
10
 
 
11
9
                private global::Gtk.Image image1;
12
 
 
13
10
                private global::Gtk.VBox vbox3;
14
 
 
15
11
                private global::Gtk.Label label2;
16
 
 
17
12
                private global::Gtk.Label labelReason;
18
 
 
19
13
                private global::Gtk.HSeparator hseparator2;
20
 
 
21
14
                private global::Gtk.Table table1;
22
 
 
23
15
                private global::Gtk.Label label3;
24
 
 
25
16
                private global::Gtk.Label label4;
26
 
 
27
17
                private global::Gtk.Label label5;
28
 
 
29
18
                private global::Gtk.Label label6;
30
 
 
31
19
                private global::Gtk.Label label7;
32
 
 
33
20
                private global::Gtk.Label label8;
34
 
 
35
21
                private global::Gtk.Label labelFprint;
36
 
 
37
22
                private global::Gtk.Label labelFrom;
38
 
 
39
23
                private global::Gtk.Label labelHost;
40
 
 
41
24
                private global::Gtk.Label labelIssuer;
42
 
 
43
25
                private global::Gtk.Label labelRealm;
44
 
 
45
26
                private global::Gtk.Label labelUntil;
46
 
 
47
27
                private global::Gtk.HSeparator hseparator1;
48
 
 
49
28
                private global::Gtk.Label label15;
50
 
 
51
29
                private global::Gtk.RadioButton radioAccept;
52
 
 
53
30
                private global::Gtk.RadioButton radioAcceptSession;
54
 
 
55
31
                private global::Gtk.RadioButton radioNotAccept;
56
 
 
57
32
                private global::Gtk.Button button98;
58
 
 
59
33
                private global::Gtk.Button button104;
60
34
 
61
35
                protected virtual void Build ()
84
58
                        this.image1.Name = "image1";
85
59
                        this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Dialog);
86
60
                        this.vbox2.Add (this.image1);
87
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.image1]));
 
61
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.image1]));
88
62
                        w2.Position = 0;
89
63
                        w2.Expand = false;
90
64
                        w2.Fill = false;
91
65
                        this.hbox1.Add (this.vbox2);
92
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
 
66
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
93
67
                        w3.Position = 0;
94
68
                        w3.Expand = false;
95
69
                        w3.Fill = false;
101
75
                        // Container child vbox3.Gtk.Box+BoxChild
102
76
                        this.label2 = new global::Gtk.Label ();
103
77
                        this.label2.Name = "label2";
104
 
                        this.label2.Xalign = 0f;
 
78
                        this.label2.Xalign = 0F;
105
79
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Unable to verify the identity of host as a trusted site.");
106
80
                        this.vbox3.Add (this.label2);
107
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2]));
 
81
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2]));
108
82
                        w4.Position = 0;
109
83
                        w4.Expand = false;
110
84
                        w4.Fill = false;
111
85
                        // Container child vbox3.Gtk.Box+BoxChild
112
86
                        this.labelReason = new global::Gtk.Label ();
113
87
                        this.labelReason.Name = "labelReason";
114
 
                        this.labelReason.Xalign = 0f;
 
88
                        this.labelReason.Xalign = 0F;
115
89
                        this.labelReason.LabelProp = "<b>Reason</b>";
116
90
                        this.labelReason.UseMarkup = true;
117
91
                        this.vbox3.Add (this.labelReason);
118
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.labelReason]));
 
92
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.labelReason]));
119
93
                        w5.Position = 1;
120
94
                        w5.Expand = false;
121
95
                        w5.Fill = false;
123
97
                        this.hseparator2 = new global::Gtk.HSeparator ();
124
98
                        this.hseparator2.Name = "hseparator2";
125
99
                        this.vbox3.Add (this.hseparator2);
126
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hseparator2]));
 
100
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator2]));
127
101
                        w6.Position = 2;
128
102
                        w6.Expand = false;
129
103
                        w6.Fill = false;
135
109
                        // Container child table1.Gtk.Table+TableChild
136
110
                        this.label3 = new global::Gtk.Label ();
137
111
                        this.label3.Name = "label3";
138
 
                        this.label3.Xalign = 0f;
 
112
                        this.label3.Xalign = 0F;
139
113
                        this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Host name</b>:");
140
114
                        this.label3.UseMarkup = true;
141
115
                        this.table1.Add (this.label3);
142
 
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
 
116
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
143
117
                        w7.TopAttach = ((uint)(1));
144
118
                        w7.BottomAttach = ((uint)(2));
145
119
                        w7.XOptions = ((global::Gtk.AttachOptions)(4));
147
121
                        // Container child table1.Gtk.Table+TableChild
148
122
                        this.label4 = new global::Gtk.Label ();
149
123
                        this.label4.Name = "label4";
150
 
                        this.label4.Xalign = 0f;
 
124
                        this.label4.Xalign = 0F;
151
125
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Issued by:</b>");
152
126
                        this.label4.UseMarkup = true;
153
127
                        this.table1.Add (this.label4);
154
 
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
 
128
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
155
129
                        w8.TopAttach = ((uint)(2));
156
130
                        w8.BottomAttach = ((uint)(3));
157
131
                        w8.XOptions = ((global::Gtk.AttachOptions)(4));
159
133
                        // Container child table1.Gtk.Table+TableChild
160
134
                        this.label5 = new global::Gtk.Label ();
161
135
                        this.label5.Name = "label5";
162
 
                        this.label5.Xalign = 0f;
 
136
                        this.label5.Xalign = 0F;
163
137
                        this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Issued on:</b>");
164
138
                        this.label5.UseMarkup = true;
165
139
                        this.table1.Add (this.label5);
166
 
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
 
140
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
167
141
                        w9.TopAttach = ((uint)(3));
168
142
                        w9.BottomAttach = ((uint)(4));
169
143
                        w9.XOptions = ((global::Gtk.AttachOptions)(4));
171
145
                        // Container child table1.Gtk.Table+TableChild
172
146
                        this.label6 = new global::Gtk.Label ();
173
147
                        this.label6.Name = "label6";
174
 
                        this.label6.Xalign = 0f;
 
148
                        this.label6.Xalign = 0F;
175
149
                        this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Expires on:</b>");
176
150
                        this.label6.UseMarkup = true;
177
151
                        this.table1.Add (this.label6);
178
 
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
 
152
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
179
153
                        w10.TopAttach = ((uint)(4));
180
154
                        w10.BottomAttach = ((uint)(5));
181
155
                        w10.XOptions = ((global::Gtk.AttachOptions)(4));
183
157
                        // Container child table1.Gtk.Table+TableChild
184
158
                        this.label7 = new global::Gtk.Label ();
185
159
                        this.label7.Name = "label7";
186
 
                        this.label7.Xalign = 0f;
 
160
                        this.label7.Xalign = 0F;
187
161
                        this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Fingerprint:</b>");
188
162
                        this.label7.UseMarkup = true;
189
163
                        this.table1.Add (this.label7);
190
 
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label7]));
 
164
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
191
165
                        w11.TopAttach = ((uint)(5));
192
166
                        w11.BottomAttach = ((uint)(6));
193
167
                        w11.XOptions = ((global::Gtk.AttachOptions)(4));
195
169
                        // Container child table1.Gtk.Table+TableChild
196
170
                        this.label8 = new global::Gtk.Label ();
197
171
                        this.label8.Name = "label8";
198
 
                        this.label8.Xalign = 0f;
 
172
                        this.label8.Xalign = 0F;
199
173
                        this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Auth. Realm:</b>");
200
174
                        this.label8.UseMarkup = true;
201
175
                        this.table1.Add (this.label8);
202
 
                        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
 
176
                        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
203
177
                        w12.XOptions = ((global::Gtk.AttachOptions)(4));
204
178
                        w12.YOptions = ((global::Gtk.AttachOptions)(4));
205
179
                        // Container child table1.Gtk.Table+TableChild
206
180
                        this.labelFprint = new global::Gtk.Label ();
207
181
                        this.labelFprint.Name = "labelFprint";
208
 
                        this.labelFprint.Xalign = 0f;
 
182
                        this.labelFprint.Xalign = 0F;
209
183
                        this.labelFprint.LabelProp = "label14";
210
184
                        this.table1.Add (this.labelFprint);
211
 
                        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFprint]));
 
185
                        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelFprint]));
212
186
                        w13.TopAttach = ((uint)(5));
213
187
                        w13.BottomAttach = ((uint)(6));
214
188
                        w13.LeftAttach = ((uint)(1));
218
192
                        // Container child table1.Gtk.Table+TableChild
219
193
                        this.labelFrom = new global::Gtk.Label ();
220
194
                        this.labelFrom.Name = "labelFrom";
221
 
                        this.labelFrom.Xalign = 0f;
 
195
                        this.labelFrom.Xalign = 0F;
222
196
                        this.labelFrom.LabelProp = "label12";
223
197
                        this.table1.Add (this.labelFrom);
224
 
                        global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.labelFrom]));
 
198
                        global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelFrom]));
225
199
                        w14.TopAttach = ((uint)(3));
226
200
                        w14.BottomAttach = ((uint)(4));
227
201
                        w14.LeftAttach = ((uint)(1));
231
205
                        // Container child table1.Gtk.Table+TableChild
232
206
                        this.labelHost = new global::Gtk.Label ();
233
207
                        this.labelHost.Name = "labelHost";
234
 
                        this.labelHost.Xalign = 0f;
 
208
                        this.labelHost.Xalign = 0F;
235
209
                        this.labelHost.LabelProp = "label10";
236
210
                        this.table1.Add (this.labelHost);
237
 
                        global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.labelHost]));
 
211
                        global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelHost]));
238
212
                        w15.TopAttach = ((uint)(1));
239
213
                        w15.BottomAttach = ((uint)(2));
240
214
                        w15.LeftAttach = ((uint)(1));
244
218
                        // Container child table1.Gtk.Table+TableChild
245
219
                        this.labelIssuer = new global::Gtk.Label ();
246
220
                        this.labelIssuer.Name = "labelIssuer";
247
 
                        this.labelIssuer.Xalign = 0f;
 
221
                        this.labelIssuer.Xalign = 0F;
248
222
                        this.labelIssuer.LabelProp = "label11";
249
223
                        this.table1.Add (this.labelIssuer);
250
 
                        global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.labelIssuer]));
 
224
                        global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelIssuer]));
251
225
                        w16.TopAttach = ((uint)(2));
252
226
                        w16.BottomAttach = ((uint)(3));
253
227
                        w16.LeftAttach = ((uint)(1));
257
231
                        // Container child table1.Gtk.Table+TableChild
258
232
                        this.labelRealm = new global::Gtk.Label ();
259
233
                        this.labelRealm.Name = "labelRealm";
260
 
                        this.labelRealm.Xalign = 0f;
 
234
                        this.labelRealm.Xalign = 0F;
261
235
                        this.labelRealm.LabelProp = "label9";
262
236
                        this.table1.Add (this.labelRealm);
263
 
                        global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.labelRealm]));
 
237
                        global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelRealm]));
264
238
                        w17.LeftAttach = ((uint)(1));
265
239
                        w17.RightAttach = ((uint)(2));
266
240
                        w17.YOptions = ((global::Gtk.AttachOptions)(4));
267
241
                        // Container child table1.Gtk.Table+TableChild
268
242
                        this.labelUntil = new global::Gtk.Label ();
269
243
                        this.labelUntil.Name = "labelUntil";
270
 
                        this.labelUntil.Xalign = 0f;
 
244
                        this.labelUntil.Xalign = 0F;
271
245
                        this.labelUntil.LabelProp = "label13";
272
246
                        this.table1.Add (this.labelUntil);
273
 
                        global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.labelUntil]));
 
247
                        global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelUntil]));
274
248
                        w18.TopAttach = ((uint)(4));
275
249
                        w18.BottomAttach = ((uint)(5));
276
250
                        w18.LeftAttach = ((uint)(1));
278
252
                        w18.XOptions = ((global::Gtk.AttachOptions)(4));
279
253
                        w18.YOptions = ((global::Gtk.AttachOptions)(4));
280
254
                        this.vbox3.Add (this.table1);
281
 
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table1]));
 
255
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table1]));
282
256
                        w19.Position = 3;
283
257
                        w19.Expand = false;
284
258
                        w19.Fill = false;
287
261
                        this.hseparator1 = new global::Gtk.HSeparator ();
288
262
                        this.hseparator1.Name = "hseparator1";
289
263
                        this.vbox3.Add (this.hseparator1);
290
 
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hseparator1]));
 
264
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator1]));
291
265
                        w20.Position = 4;
292
266
                        w20.Expand = false;
293
267
                        w20.Fill = false;
294
268
                        // Container child vbox3.Gtk.Box+BoxChild
295
269
                        this.label15 = new global::Gtk.Label ();
296
270
                        this.label15.Name = "label15";
297
 
                        this.label15.Xalign = 0f;
 
271
                        this.label15.Xalign = 0F;
298
272
                        this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Do you want to accept the certificate and connect to the repository?");
299
273
                        this.vbox3.Add (this.label15);
300
 
                        global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label15]));
 
274
                        global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label15]));
301
275
                        w21.Position = 5;
302
276
                        w21.Expand = false;
303
277
                        w21.Fill = false;
310
284
                        this.radioAccept.UseUnderline = true;
311
285
                        this.radioAccept.Group = new global::GLib.SList (global::System.IntPtr.Zero);
312
286
                        this.vbox3.Add (this.radioAccept);
313
 
                        global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.radioAccept]));
 
287
                        global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.radioAccept]));
314
288
                        w22.Position = 6;
315
289
                        w22.Expand = false;
316
290
                        w22.Fill = false;
322
296
                        this.radioAcceptSession.UseUnderline = true;
323
297
                        this.radioAcceptSession.Group = this.radioAccept.Group;
324
298
                        this.vbox3.Add (this.radioAcceptSession);
325
 
                        global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.radioAcceptSession]));
 
299
                        global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.radioAcceptSession]));
326
300
                        w23.Position = 7;
327
301
                        w23.Expand = false;
328
302
                        w23.Fill = false;
334
308
                        this.radioNotAccept.UseUnderline = true;
335
309
                        this.radioNotAccept.Group = this.radioAccept.Group;
336
310
                        this.vbox3.Add (this.radioNotAccept);
337
 
                        global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.radioNotAccept]));
 
311
                        global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.radioNotAccept]));
338
312
                        w24.Position = 8;
339
313
                        w24.Expand = false;
340
314
                        w24.Fill = false;
341
315
                        this.hbox1.Add (this.vbox3);
342
 
                        global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
 
316
                        global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
343
317
                        w25.Position = 1;
344
318
                        w1.Add (this.hbox1);
345
 
                        global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1]));
 
319
                        global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
346
320
                        w26.Position = 0;
347
321
                        // Internal child MonoDevelop.VersionControl.Subversion.Gui.SslServerTrustDialog.ActionArea
348
322
                        global::Gtk.HButtonBox w27 = this.ActionArea;
360
334
                        this.button98.UseUnderline = true;
361
335
                        this.button98.Label = "gtk-cancel";
362
336
                        this.AddActionWidget (this.button98, -6);
363
 
                        global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27[this.button98]));
 
337
                        global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.button98]));
364
338
                        w28.Expand = false;
365
339
                        w28.Fill = false;
366
340
                        // Container child MonoDevelop.VersionControl.Subversion.SslServerTrustDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
372
346
                        this.button104.UseUnderline = true;
373
347
                        this.button104.Label = "gtk-ok";
374
348
                        this.AddActionWidget (this.button104, -5);
375
 
                        global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27[this.button104]));
 
349
                        global::Gtk.ButtonBox.ButtonBoxChild w29 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w27 [this.button104]));
376
350
                        w29.Position = 1;
377
351
                        w29.Expand = false;
378
352
                        w29.Fill = false;
381
355
                        }
382
356
                        this.DefaultWidth = 508;
383
357
                        this.DefaultHeight = 415;
384
 
                        this.Show ();
 
358
                        this.Hide ();
385
359
                }
386
360
        }
387
361
}