File: Do.FilesAndFolders.Configuration.cs

package info (click to toggle)
gnome-do-plugins 0.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,672 kB
  • ctags: 9,913
  • sloc: cs: 45,624; xml: 2,161; makefile: 1,991; sh: 724
file content (333 lines) | stat: -rw-r--r-- 15,677 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace Do.FilesAndFolders {
    
    
    public partial class Configuration {
        
        private Gtk.Alignment alignment1;
        
        private Gtk.VBox vbox2;
        
        private Gtk.VBox vbox1;
        
        private Gtk.Notebook notebook1;
        
        private Gtk.VBox vbox4;
        
        private Gtk.Alignment alignment3;
        
        private Gtk.VBox vbox6;
        
        private Gtk.ScrolledWindow index_node_scroll;
        
        private Gtk.HBox hbox1;
        
        private Gtk.Label IndexLabel;
        
        private Gtk.HButtonBox hbuttonbox2;
        
        private Gtk.Button index_remove_btn;
        
        private Gtk.Button index_add_btn;
        
        private Gtk.CheckButton show_hidden_chk;
        
        private Gtk.Label label1;
        
        private Gtk.VBox vbox5;
        
        private Gtk.Alignment alignment2;
        
        private Gtk.VBox vbox3;
        
        private Gtk.ScrolledWindow ignore_node_scroll;
        
        private Gtk.HBox hbox3;
        
        private Gtk.Label IgnoreLabel;
        
        private Gtk.HButtonBox hbuttonbox3;
        
        private Gtk.Button ignore_remove_btn;
        
        private Gtk.Button ignore_add_btn;
        
        private Gtk.Label label2;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget Do.FilesAndFolders.Configuration
            Stetic.BinContainer.Attach(this);
            this.Name = "Do.FilesAndFolders.Configuration";
            // Container child Do.FilesAndFolders.Configuration.Gtk.Container+ContainerChild
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
            this.alignment1.Name = "alignment1";
            this.alignment1.BorderWidth = ((uint)(8));
            // Container child alignment1.Gtk.Container+ContainerChild
            this.vbox2 = new Gtk.VBox();
            this.vbox2.Name = "vbox2";
            this.vbox2.Spacing = 6;
            // Container child vbox2.Gtk.Box+BoxChild
            this.vbox1 = new Gtk.VBox();
            this.vbox1.Name = "vbox1";
            this.vbox1.Spacing = 6;
            // Container child vbox1.Gtk.Box+BoxChild
            this.notebook1 = new Gtk.Notebook();
            this.notebook1.HeightRequest = 270;
            this.notebook1.CanFocus = true;
            this.notebook1.Name = "notebook1";
            this.notebook1.CurrentPage = 0;
            this.notebook1.ShowBorder = false;
            // Container child notebook1.Gtk.Notebook+NotebookChild
            this.vbox4 = new Gtk.VBox();
            this.vbox4.Name = "vbox4";
            this.vbox4.Spacing = 6;
            // Container child vbox4.Gtk.Box+BoxChild
            this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
            this.alignment3.Name = "alignment3";
            this.alignment3.LeftPadding = ((uint)(8));
            this.alignment3.TopPadding = ((uint)(8));
            this.alignment3.RightPadding = ((uint)(8));
            this.alignment3.BottomPadding = ((uint)(8));
            // Container child alignment3.Gtk.Container+ContainerChild
            this.vbox6 = new Gtk.VBox();
            this.vbox6.Name = "vbox6";
            this.vbox6.Spacing = 6;
            // Container child vbox6.Gtk.Box+BoxChild
            this.index_node_scroll = new Gtk.ScrolledWindow();
            this.index_node_scroll.CanFocus = true;
            this.index_node_scroll.Name = "index_node_scroll";
            this.index_node_scroll.ShadowType = ((Gtk.ShadowType)(1));
            this.vbox6.Add(this.index_node_scroll);
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox6[this.index_node_scroll]));
            w1.Position = 0;
            // Container child vbox6.Gtk.Box+BoxChild
            this.hbox1 = new Gtk.HBox();
            this.hbox1.Name = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.IndexLabel = new Gtk.Label();
            this.IndexLabel.Name = "IndexLabel";
            this.hbox1.Add(this.IndexLabel);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.IndexLabel]));
            w2.Position = 0;
            // Container child hbox1.Gtk.Box+BoxChild
            this.hbuttonbox2 = new Gtk.HButtonBox();
            this.hbuttonbox2.Name = "hbuttonbox2";
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
            this.index_remove_btn = new Gtk.Button();
            this.index_remove_btn.CanFocus = true;
            this.index_remove_btn.Name = "index_remove_btn";
            this.index_remove_btn.UseUnderline = true;
            // Container child index_remove_btn.Gtk.Container+ContainerChild
            Gtk.Alignment w3 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
            // Container child GtkAlignment.Gtk.Container+ContainerChild
            Gtk.HBox w4 = new Gtk.HBox();
            w4.Spacing = 2;
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Image w5 = new Gtk.Image();
            w5.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Button, 16);
            w4.Add(w5);
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Label w7 = new Gtk.Label();
            w4.Add(w7);
            w3.Add(w4);
            this.index_remove_btn.Add(w3);
            this.hbuttonbox2.Add(this.index_remove_btn);
            Gtk.ButtonBox.ButtonBoxChild w11 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.index_remove_btn]));
            w11.Expand = false;
            w11.Fill = false;
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
            this.index_add_btn = new Gtk.Button();
            this.index_add_btn.CanFocus = true;
            this.index_add_btn.Name = "index_add_btn";
            this.index_add_btn.UseUnderline = true;
            // Container child index_add_btn.Gtk.Container+ContainerChild
            Gtk.Alignment w12 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
            // Container child GtkAlignment.Gtk.Container+ContainerChild
            Gtk.HBox w13 = new Gtk.HBox();
            w13.Spacing = 2;
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Image w14 = new Gtk.Image();
            w14.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
            w13.Add(w14);
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Label w16 = new Gtk.Label();
            w13.Add(w16);
            w12.Add(w13);
            this.index_add_btn.Add(w12);
            this.hbuttonbox2.Add(this.index_add_btn);
            Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.index_add_btn]));
            w20.Position = 1;
            w20.Expand = false;
            w20.Fill = false;
            this.hbox1.Add(this.hbuttonbox2);
            Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox1[this.hbuttonbox2]));
            w21.Position = 1;
            w21.Expand = false;
            this.vbox6.Add(this.hbox1);
            Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.vbox6[this.hbox1]));
            w22.Position = 1;
            w22.Expand = false;
            w22.Fill = false;
            // Container child vbox6.Gtk.Box+BoxChild
            this.show_hidden_chk = new Gtk.CheckButton();
            this.show_hidden_chk.CanFocus = true;
            this.show_hidden_chk.Name = "show_hidden_chk";
            this.show_hidden_chk.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Show hidden files");
            this.show_hidden_chk.DrawIndicator = true;
            this.show_hidden_chk.UseUnderline = true;
            this.show_hidden_chk.BorderWidth = ((uint)(5));
            this.vbox6.Add(this.show_hidden_chk);
            Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox6[this.show_hidden_chk]));
            w23.Position = 2;
            w23.Expand = false;
            w23.Fill = false;
            this.alignment3.Add(this.vbox6);
            this.vbox4.Add(this.alignment3);
            Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox4[this.alignment3]));
            w25.Position = 0;
            this.notebook1.Add(this.vbox4);
            // Notebook tab
            this.label1 = new Gtk.Label();
            this.label1.Name = "label1";
            this.label1.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Indexed Folders");
            this.notebook1.SetTabLabel(this.vbox4, this.label1);
            this.label1.ShowAll();
            // Container child notebook1.Gtk.Notebook+NotebookChild
            this.vbox5 = new Gtk.VBox();
            this.vbox5.Name = "vbox5";
            this.vbox5.Spacing = 6;
            // Container child vbox5.Gtk.Box+BoxChild
            this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
            this.alignment2.Name = "alignment2";
            this.alignment2.LeftPadding = ((uint)(8));
            this.alignment2.TopPadding = ((uint)(8));
            this.alignment2.RightPadding = ((uint)(8));
            this.alignment2.BottomPadding = ((uint)(8));
            // Container child alignment2.Gtk.Container+ContainerChild
            this.vbox3 = new Gtk.VBox();
            this.vbox3.Name = "vbox3";
            this.vbox3.Spacing = 6;
            // Container child vbox3.Gtk.Box+BoxChild
            this.ignore_node_scroll = new Gtk.ScrolledWindow();
            this.ignore_node_scroll.CanFocus = true;
            this.ignore_node_scroll.Name = "ignore_node_scroll";
            this.ignore_node_scroll.ShadowType = ((Gtk.ShadowType)(1));
            this.vbox3.Add(this.ignore_node_scroll);
            Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.vbox3[this.ignore_node_scroll]));
            w27.Position = 0;
            // Container child vbox3.Gtk.Box+BoxChild
            this.hbox3 = new Gtk.HBox();
            this.hbox3.Name = "hbox3";
            this.hbox3.Spacing = 6;
            // Container child hbox3.Gtk.Box+BoxChild
            this.IgnoreLabel = new Gtk.Label();
            this.IgnoreLabel.Name = "IgnoreLabel";
            this.hbox3.Add(this.IgnoreLabel);
            Gtk.Box.BoxChild w28 = ((Gtk.Box.BoxChild)(this.hbox3[this.IgnoreLabel]));
            w28.Position = 0;
            w28.Fill = false;
            // Container child hbox3.Gtk.Box+BoxChild
            this.hbuttonbox3 = new Gtk.HButtonBox();
            this.hbuttonbox3.Name = "hbuttonbox3";
            // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
            this.ignore_remove_btn = new Gtk.Button();
            this.ignore_remove_btn.CanFocus = true;
            this.ignore_remove_btn.Name = "ignore_remove_btn";
            this.ignore_remove_btn.UseUnderline = true;
            // Container child ignore_remove_btn.Gtk.Container+ContainerChild
            Gtk.Alignment w29 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
            // Container child GtkAlignment.Gtk.Container+ContainerChild
            Gtk.HBox w30 = new Gtk.HBox();
            w30.Spacing = 2;
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Image w31 = new Gtk.Image();
            w31.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-remove", Gtk.IconSize.Button, 16);
            w30.Add(w31);
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Label w33 = new Gtk.Label();
            w30.Add(w33);
            w29.Add(w30);
            this.ignore_remove_btn.Add(w29);
            this.hbuttonbox3.Add(this.ignore_remove_btn);
            Gtk.ButtonBox.ButtonBoxChild w37 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.ignore_remove_btn]));
            w37.Expand = false;
            w37.Fill = false;
            w37.Padding = ((uint)(5));
            // Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
            this.ignore_add_btn = new Gtk.Button();
            this.ignore_add_btn.CanFocus = true;
            this.ignore_add_btn.Name = "ignore_add_btn";
            this.ignore_add_btn.UseUnderline = true;
            // Container child ignore_add_btn.Gtk.Container+ContainerChild
            Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
            // Container child GtkAlignment.Gtk.Container+ContainerChild
            Gtk.HBox w39 = new Gtk.HBox();
            w39.Spacing = 2;
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Image w40 = new Gtk.Image();
            w40.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-add", Gtk.IconSize.Menu, 16);
            w39.Add(w40);
            // Container child GtkHBox.Gtk.Container+ContainerChild
            Gtk.Label w42 = new Gtk.Label();
            w39.Add(w42);
            w38.Add(w39);
            this.ignore_add_btn.Add(w38);
            this.hbuttonbox3.Add(this.ignore_add_btn);
            Gtk.ButtonBox.ButtonBoxChild w46 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3[this.ignore_add_btn]));
            w46.Position = 1;
            w46.Expand = false;
            w46.Fill = false;
            w46.Padding = ((uint)(5));
            this.hbox3.Add(this.hbuttonbox3);
            Gtk.Box.BoxChild w47 = ((Gtk.Box.BoxChild)(this.hbox3[this.hbuttonbox3]));
            w47.Position = 1;
            w47.Expand = false;
            this.vbox3.Add(this.hbox3);
            Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
            w48.Position = 1;
            w48.Expand = false;
            w48.Fill = false;
            this.alignment2.Add(this.vbox3);
            this.vbox5.Add(this.alignment2);
            Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox5[this.alignment2]));
            w50.Position = 0;
            this.notebook1.Add(this.vbox5);
            Gtk.Notebook.NotebookChild w51 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox5]));
            w51.Position = 1;
            // Notebook tab
            this.label2 = new Gtk.Label();
            this.label2.Name = "label2";
            this.label2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Ignored Folders");
            this.notebook1.SetTabLabel(this.vbox5, this.label2);
            this.label2.ShowAll();
            this.vbox1.Add(this.notebook1);
            Gtk.Box.BoxChild w52 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1]));
            w52.Position = 0;
            this.vbox2.Add(this.vbox1);
            Gtk.Box.BoxChild w53 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox1]));
            w53.Position = 0;
            this.alignment1.Add(this.vbox2);
            this.Add(this.alignment1);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.index_remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked);
            this.index_add_btn.Clicked += new System.EventHandler(this.OnAddBtnClicked);
            this.show_hidden_chk.Clicked += new System.EventHandler(this.OnShowHiddenChkClicked);
            this.ignore_remove_btn.Clicked += new System.EventHandler(this.OnRemoveBtnClicked);
            this.ignore_add_btn.Clicked += new System.EventHandler(this.OnAddBtnClicked);
        }
    }
}