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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.FindInFiles.FindInFilesDialog.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 FindInFilesDialog
6
6
        {
7
7
                private global::Gtk.VBox vbox2;
8
 
 
9
8
                private global::Gtk.HBox hbox1;
10
 
 
11
9
                private global::Gtk.Table tableFindAndReplace;
12
 
 
13
10
                private global::Gtk.ComboBoxEntry comboboxentryFind;
14
 
 
15
11
                private global::Gtk.HBox hbox2;
16
 
 
17
12
                private global::Gtk.ComboBox comboboxScope;
18
 
 
19
13
                private global::Gtk.Label labelFileMask;
20
 
 
21
14
                private global::Gtk.Label labelFind;
22
 
 
23
15
                private global::Gtk.Label labelScope;
24
 
 
25
16
                private global::MonoDevelop.Components.SearchEntry searchentry1;
26
 
 
27
17
                private global::Gtk.Table table1;
28
 
 
29
18
                private global::Gtk.CheckButton checkbuttonCaseSensitive;
30
 
 
31
19
                private global::Gtk.CheckButton checkbuttonRegexSearch;
32
 
 
33
20
                private global::Gtk.CheckButton checkbuttonWholeWordsOnly;
34
 
 
35
21
                private global::Gtk.Button buttonStop;
36
 
 
37
22
                private global::Gtk.Button buttonClose;
38
 
 
39
23
                private global::Gtk.Button buttonReplace;
40
 
 
41
24
                private global::Gtk.Button buttonSearch;
42
25
 
43
26
                protected virtual void Build ()
74
57
                        this.comboboxentryFind = global::Gtk.ComboBoxEntry.NewText ();
75
58
                        this.comboboxentryFind.Name = "comboboxentryFind";
76
59
                        this.tableFindAndReplace.Add (this.comboboxentryFind);
77
 
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace[this.comboboxentryFind]));
 
60
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace [this.comboboxentryFind]));
78
61
                        w2.LeftAttach = ((uint)(1));
79
62
                        w2.RightAttach = ((uint)(2));
80
63
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
86
69
                        this.comboboxScope = global::Gtk.ComboBox.NewText ();
87
70
                        this.comboboxScope.Name = "comboboxScope";
88
71
                        this.hbox2.Add (this.comboboxScope);
89
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.comboboxScope]));
 
72
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.comboboxScope]));
90
73
                        w3.Position = 0;
91
74
                        w3.Expand = false;
92
75
                        w3.Fill = false;
93
76
                        this.tableFindAndReplace.Add (this.hbox2);
94
 
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace[this.hbox2]));
 
77
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace [this.hbox2]));
95
78
                        w4.TopAttach = ((uint)(1));
96
79
                        w4.BottomAttach = ((uint)(2));
97
80
                        w4.LeftAttach = ((uint)(1));
101
84
                        // Container child tableFindAndReplace.Gtk.Table+TableChild
102
85
                        this.labelFileMask = new global::Gtk.Label ();
103
86
                        this.labelFileMask.Name = "labelFileMask";
104
 
                        this.labelFileMask.Xalign = 0f;
 
87
                        this.labelFileMask.Xalign = 0F;
105
88
                        this.labelFileMask.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_File Mask:");
106
89
                        this.labelFileMask.UseUnderline = true;
107
90
                        this.tableFindAndReplace.Add (this.labelFileMask);
108
 
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace[this.labelFileMask]));
 
91
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace [this.labelFileMask]));
109
92
                        w5.TopAttach = ((uint)(2));
110
93
                        w5.BottomAttach = ((uint)(3));
111
94
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
113
96
                        // Container child tableFindAndReplace.Gtk.Table+TableChild
114
97
                        this.labelFind = new global::Gtk.Label ();
115
98
                        this.labelFind.Name = "labelFind";
116
 
                        this.labelFind.Xalign = 0f;
 
99
                        this.labelFind.Xalign = 0F;
117
100
                        this.labelFind.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_Find:");
118
101
                        this.labelFind.UseUnderline = true;
119
102
                        this.tableFindAndReplace.Add (this.labelFind);
120
 
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace[this.labelFind]));
 
103
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace [this.labelFind]));
121
104
                        w6.XOptions = ((global::Gtk.AttachOptions)(4));
122
105
                        w6.YOptions = ((global::Gtk.AttachOptions)(4));
123
106
                        // Container child tableFindAndReplace.Gtk.Table+TableChild
124
107
                        this.labelScope = new global::Gtk.Label ();
125
108
                        this.labelScope.Name = "labelScope";
126
 
                        this.labelScope.Xalign = 0f;
 
109
                        this.labelScope.Xalign = 0F;
127
110
                        this.labelScope.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_Scope:");
128
111
                        this.labelScope.UseUnderline = true;
129
112
                        this.tableFindAndReplace.Add (this.labelScope);
130
 
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace[this.labelScope]));
 
113
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace [this.labelScope]));
131
114
                        w7.TopAttach = ((uint)(1));
132
115
                        w7.BottomAttach = ((uint)(2));
133
116
                        w7.XOptions = ((global::Gtk.AttachOptions)(4));
141
124
                        this.searchentry1.Ready = false;
142
125
                        this.searchentry1.HasFocus = false;
143
126
                        this.tableFindAndReplace.Add (this.searchentry1);
144
 
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace[this.searchentry1]));
 
127
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tableFindAndReplace [this.searchentry1]));
145
128
                        w8.TopAttach = ((uint)(2));
146
129
                        w8.BottomAttach = ((uint)(3));
147
130
                        w8.LeftAttach = ((uint)(1));
149
132
                        w8.XOptions = ((global::Gtk.AttachOptions)(4));
150
133
                        w8.YOptions = ((global::Gtk.AttachOptions)(4));
151
134
                        this.hbox1.Add (this.tableFindAndReplace);
152
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.tableFindAndReplace]));
 
135
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.tableFindAndReplace]));
153
136
                        w9.Position = 0;
154
137
                        this.vbox2.Add (this.hbox1);
155
 
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
 
138
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
156
139
                        w10.Position = 0;
157
140
                        w10.Expand = false;
158
141
                        w10.Fill = false;
169
152
                        this.checkbuttonCaseSensitive.DrawIndicator = true;
170
153
                        this.checkbuttonCaseSensitive.UseUnderline = true;
171
154
                        this.table1.Add (this.checkbuttonCaseSensitive);
172
 
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.checkbuttonCaseSensitive]));
 
155
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbuttonCaseSensitive]));
173
156
                        w11.YOptions = ((global::Gtk.AttachOptions)(4));
174
157
                        // Container child table1.Gtk.Table+TableChild
175
158
                        this.checkbuttonRegexSearch = new global::Gtk.CheckButton ();
179
162
                        this.checkbuttonRegexSearch.DrawIndicator = true;
180
163
                        this.checkbuttonRegexSearch.UseUnderline = true;
181
164
                        this.table1.Add (this.checkbuttonRegexSearch);
182
 
                        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.checkbuttonRegexSearch]));
 
165
                        global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbuttonRegexSearch]));
183
166
                        w12.TopAttach = ((uint)(2));
184
167
                        w12.BottomAttach = ((uint)(3));
185
168
                        w12.YOptions = ((global::Gtk.AttachOptions)(4));
191
174
                        this.checkbuttonWholeWordsOnly.DrawIndicator = true;
192
175
                        this.checkbuttonWholeWordsOnly.UseUnderline = true;
193
176
                        this.table1.Add (this.checkbuttonWholeWordsOnly);
194
 
                        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.checkbuttonWholeWordsOnly]));
 
177
                        global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkbuttonWholeWordsOnly]));
195
178
                        w13.TopAttach = ((uint)(1));
196
179
                        w13.BottomAttach = ((uint)(2));
197
180
                        w13.YOptions = ((global::Gtk.AttachOptions)(4));
198
181
                        this.vbox2.Add (this.table1);
199
 
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
 
182
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1]));
200
183
                        w14.Position = 1;
201
184
                        w14.Expand = false;
202
185
                        w14.Fill = false;
203
186
                        w1.Add (this.vbox2);
204
 
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
 
187
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
205
188
                        w15.Position = 0;
206
189
                        w15.Expand = false;
207
190
                        w15.Fill = false;
219
202
                        this.buttonStop.UseUnderline = true;
220
203
                        this.buttonStop.Label = "gtk-stop";
221
204
                        this.AddActionWidget (this.buttonStop, 0);
222
 
                        global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonStop]));
 
205
                        global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonStop]));
223
206
                        w17.Expand = false;
224
207
                        w17.Fill = false;
225
208
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
231
214
                        this.buttonClose.UseUnderline = true;
232
215
                        this.buttonClose.Label = "gtk-close";
233
216
                        this.AddActionWidget (this.buttonClose, -7);
234
 
                        global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonClose]));
 
217
                        global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonClose]));
235
218
                        w18.Position = 1;
236
219
                        w18.Expand = false;
237
220
                        w18.Fill = false;
241
224
                        this.buttonReplace.Name = "buttonReplace";
242
225
                        this.buttonReplace.UseUnderline = true;
243
226
                        // Container child buttonReplace.Gtk.Container+ContainerChild
244
 
                        global::Gtk.Alignment w19 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
 
227
                        global::Gtk.Alignment w19 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
245
228
                        // Container child GtkAlignment.Gtk.Container+ContainerChild
246
229
                        global::Gtk.HBox w20 = new global::Gtk.HBox ();
247
230
                        w20.Spacing = 2;
257
240
                        w19.Add (w20);
258
241
                        this.buttonReplace.Add (w19);
259
242
                        this.AddActionWidget (this.buttonReplace, 0);
260
 
                        global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonReplace]));
 
243
                        global::Gtk.ButtonBox.ButtonBoxChild w27 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonReplace]));
261
244
                        w27.Position = 2;
262
245
                        w27.Expand = false;
263
246
                        w27.Fill = false;
270
253
                        this.buttonSearch.UseUnderline = true;
271
254
                        this.buttonSearch.Label = "gtk-find";
272
255
                        this.AddActionWidget (this.buttonSearch, 0);
273
 
                        global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonSearch]));
 
256
                        global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.buttonSearch]));
274
257
                        w28.Position = 3;
275
258
                        w28.Expand = false;
276
259
                        w28.Fill = false;