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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.SelectFileFormatDialog.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 SelectFileFormatDialog
6
6
        {
7
7
                private global::Gtk.HBox hbox1;
8
 
 
9
8
                private global::Gtk.VBox vbox3;
10
 
 
11
9
                private global::Gtk.Image image146;
12
 
 
13
10
                private global::Gtk.VBox vbox2;
14
 
 
15
11
                private global::Gtk.Label label1;
16
 
 
17
12
                private global::Gtk.Label labelMessage;
18
 
 
19
13
                private global::Gtk.Label labelWarnings;
20
 
 
21
14
                private global::Gtk.Label label6;
22
 
 
23
15
                private global::Gtk.Alignment alignment2;
24
 
 
25
16
                private global::Gtk.Table table1;
26
 
 
27
17
                private global::Gtk.Alignment alignment3;
28
 
 
29
18
                private global::Gtk.Label labelCurrentFormat;
30
 
 
31
19
                private global::Gtk.ComboBox comboNewFormat;
32
 
 
33
20
                private global::Gtk.Label label3;
34
 
 
35
21
                private global::Gtk.Label label4;
36
 
 
37
22
                private global::Gtk.Button buttonCancel;
38
 
 
39
23
                private global::Gtk.Button buttonOk;
40
24
 
41
25
                protected virtual void Build ()
63
47
                        this.image146.Name = "image146";
64
48
                        this.image146.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-warning", global::Gtk.IconSize.Dialog);
65
49
                        this.vbox3.Add (this.image146);
66
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.image146]));
 
50
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.image146]));
67
51
                        w2.Position = 0;
68
52
                        w2.Expand = false;
69
53
                        w2.Fill = false;
70
54
                        this.hbox1.Add (this.vbox3);
71
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
 
55
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
72
56
                        w3.Position = 0;
73
57
                        w3.Expand = false;
74
58
                        w3.Fill = false;
80
64
                        // Container child vbox2.Gtk.Box+BoxChild
81
65
                        this.label1 = new global::Gtk.Label ();
82
66
                        this.label1.Name = "label1";
83
 
                        this.label1.Xalign = 0f;
 
67
                        this.label1.Xalign = 0F;
84
68
                        this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("<b>File Format Incompatibility Detected</b>");
85
69
                        this.label1.UseMarkup = true;
86
70
                        this.vbox2.Add (this.label1);
87
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1]));
 
71
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1]));
88
72
                        w4.Position = 0;
89
73
                        w4.Expand = false;
90
74
                        w4.Fill = false;
91
75
                        // Container child vbox2.Gtk.Box+BoxChild
92
76
                        this.labelMessage = new global::Gtk.Label ();
93
77
                        this.labelMessage.Name = "labelMessage";
94
 
                        this.labelMessage.Xalign = 0f;
 
78
                        this.labelMessage.Xalign = 0F;
95
79
                        this.labelMessage.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("The current file format for project {0} is not compatible with some settings of the project.");
96
80
                        this.vbox2.Add (this.labelMessage);
97
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelMessage]));
 
81
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelMessage]));
98
82
                        w5.Position = 1;
99
83
                        w5.Expand = false;
100
84
                        w5.Fill = false;
102
86
                        this.labelWarnings = new global::Gtk.Label ();
103
87
                        this.labelWarnings.WidthRequest = 525;
104
88
                        this.labelWarnings.Name = "labelWarnings";
105
 
                        this.labelWarnings.Xalign = 0f;
 
89
                        this.labelWarnings.Xalign = 0F;
106
90
                        this.labelWarnings.Wrap = true;
107
91
                        this.vbox2.Add (this.labelWarnings);
108
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelWarnings]));
 
92
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.labelWarnings]));
109
93
                        w6.Position = 2;
110
94
                        w6.Expand = false;
111
95
                        w6.Fill = false;
112
96
                        // Container child vbox2.Gtk.Box+BoxChild
113
97
                        this.label6 = new global::Gtk.Label ();
114
98
                        this.label6.Name = "label6";
115
 
                        this.label6.Xalign = 0f;
 
99
                        this.label6.Xalign = 0F;
116
100
                        this.label6.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Please select a new file format for the solution:");
117
101
                        this.vbox2.Add (this.label6);
118
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label6]));
 
102
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label6]));
119
103
                        w7.Position = 3;
120
104
                        w7.Expand = false;
121
105
                        w7.Fill = false;
122
106
                        // Container child vbox2.Gtk.Box+BoxChild
123
 
                        this.alignment2 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
 
107
                        this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
124
108
                        this.alignment2.Name = "alignment2";
125
109
                        this.alignment2.LeftPadding = ((uint)(18));
126
110
                        // Container child alignment2.Gtk.Container+ContainerChild
129
113
                        this.table1.RowSpacing = ((uint)(6));
130
114
                        this.table1.ColumnSpacing = ((uint)(6));
131
115
                        // Container child table1.Gtk.Table+TableChild
132
 
                        this.alignment3 = new global::Gtk.Alignment (0.5f, 0.5f, 1f, 1f);
 
116
                        this.alignment3 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
133
117
                        this.alignment3.Name = "alignment3";
134
118
                        this.alignment3.TopPadding = ((uint)(3));
135
119
                        this.alignment3.BottomPadding = ((uint)(3));
136
120
                        // Container child alignment3.Gtk.Container+ContainerChild
137
121
                        this.labelCurrentFormat = new global::Gtk.Label ();
138
122
                        this.labelCurrentFormat.Name = "labelCurrentFormat";
139
 
                        this.labelCurrentFormat.Xalign = 0f;
 
123
                        this.labelCurrentFormat.Xalign = 0F;
140
124
                        this.labelCurrentFormat.LabelProp = "MonoDevelop";
141
125
                        this.alignment3.Add (this.labelCurrentFormat);
142
126
                        this.table1.Add (this.alignment3);
143
 
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.alignment3]));
 
127
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.alignment3]));
144
128
                        w9.LeftAttach = ((uint)(1));
145
129
                        w9.RightAttach = ((uint)(2));
146
130
                        w9.XOptions = ((global::Gtk.AttachOptions)(4));
149
133
                        this.comboNewFormat = global::Gtk.ComboBox.NewText ();
150
134
                        this.comboNewFormat.Name = "comboNewFormat";
151
135
                        this.table1.Add (this.comboNewFormat);
152
 
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.comboNewFormat]));
 
136
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboNewFormat]));
153
137
                        w10.TopAttach = ((uint)(1));
154
138
                        w10.BottomAttach = ((uint)(2));
155
139
                        w10.LeftAttach = ((uint)(1));
158
142
                        // Container child table1.Gtk.Table+TableChild
159
143
                        this.label3 = new global::Gtk.Label ();
160
144
                        this.label3.Name = "label3";
161
 
                        this.label3.Xalign = 0f;
 
145
                        this.label3.Xalign = 0F;
162
146
                        this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Current Format:");
163
147
                        this.table1.Add (this.label3);
164
 
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
 
148
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
165
149
                        w11.XOptions = ((global::Gtk.AttachOptions)(4));
166
150
                        w11.YOptions = ((global::Gtk.AttachOptions)(4));
167
151
                        // Container child table1.Gtk.Table+TableChild
168
152
                        this.label4 = new global::Gtk.Label ();
169
153
                        this.label4.Name = "label4";
170
 
                        this.label4.Xalign = 0f;
 
154
                        this.label4.Xalign = 0F;
171
155
                        this.label4.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("New Format:");
172
156
                        this.table1.Add (this.label4);
173
 
                        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
 
157
                        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
174
158
                        w12.TopAttach = ((uint)(1));
175
159
                        w12.BottomAttach = ((uint)(2));
176
160
                        w12.XOptions = ((global::Gtk.AttachOptions)(4));
177
161
                        w12.YOptions = ((global::Gtk.AttachOptions)(4));
178
162
                        this.alignment2.Add (this.table1);
179
163
                        this.vbox2.Add (this.alignment2);
180
 
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.alignment2]));
 
164
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment2]));
181
165
                        w14.Position = 4;
182
166
                        w14.Expand = false;
183
167
                        w14.Fill = false;
184
168
                        this.hbox1.Add (this.vbox2);
185
 
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
 
169
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2]));
186
170
                        w15.Position = 1;
187
171
                        w15.Expand = false;
188
172
                        w15.Fill = false;
189
173
                        w1.Add (this.hbox1);
190
 
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1]));
 
174
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1]));
191
175
                        w16.Position = 0;
192
176
                        w16.Expand = false;
193
177
                        w16.Fill = false;
206
190
                        this.buttonCancel.UseUnderline = true;
207
191
                        this.buttonCancel.Label = "gtk-cancel";
208
192
                        this.AddActionWidget (this.buttonCancel, -6);
209
 
                        global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonCancel]));
 
193
                        global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonCancel]));
210
194
                        w18.Expand = false;
211
195
                        w18.Fill = false;
212
196
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
218
202
                        this.buttonOk.UseUnderline = true;
219
203
                        this.buttonOk.Label = "gtk-ok";
220
204
                        this.AddActionWidget (this.buttonOk, -5);
221
 
                        global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonOk]));
 
205
                        global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.buttonOk]));
222
206
                        w19.Position = 1;
223
207
                        w19.Expand = false;
224
208
                        w19.Fill = false;
227
211
                        }
228
212
                        this.DefaultWidth = 638;
229
213
                        this.DefaultHeight = 246;
230
 
                        this.Show ();
 
214
                        this.Hide ();
231
215
                }
232
216
        }
233
217
}