~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.IDEStyleOptionsPanelWidget.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        {
7
7
                private global::Gtk.VBox vbox13;
8
8
                private global::Gtk.Table table1;
9
 
                private global::Gtk.ComboBox comboCompact;
10
9
                private global::Gtk.ComboBox comboLanguage;
11
10
                private global::Gtk.ComboBox comboTheme;
12
 
                private global::Gtk.Label label1;
13
11
                private global::Gtk.Label label2;
14
 
                private global::Gtk.Label label3;
15
 
                private global::Gtk.Label label4;
16
 
                private global::Gtk.ComboBox toolbarCombobox;
17
 
                private global::Gtk.HBox hbox2;
18
 
                private global::Gtk.CheckButton fontCheckbox;
19
 
                private global::Gtk.FontButton fontButton;
20
 
                private global::Gtk.HBox hbox3;
21
 
                private global::Gtk.CheckButton fontOutputCheckbox;
22
 
                private global::Gtk.FontButton fontOutputButton;
23
 
                private global::Gtk.CheckButton documentSwitcherButton;
24
 
                
 
12
                private global::Gtk.Label labelTheme;
 
13
 
25
14
                protected virtual void Build ()
26
15
                {
27
16
                        global::Stetic.Gui.Initialize (this);
33
22
                        this.vbox13.Name = "vbox13";
34
23
                        this.vbox13.Spacing = 6;
35
24
                        // Container child vbox13.Gtk.Box+BoxChild
36
 
                        this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
 
25
                        this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
37
26
                        this.table1.Name = "table1";
38
27
                        this.table1.RowSpacing = ((uint)(6));
39
28
                        this.table1.ColumnSpacing = ((uint)(6));
40
29
                        // Container child table1.Gtk.Table+TableChild
41
 
                        this.comboCompact = global::Gtk.ComboBox.NewText ();
42
 
                        this.comboCompact.AppendText (global::Mono.Unix.Catalog.GetString ("Very spacious"));
43
 
                        this.comboCompact.AppendText (global::Mono.Unix.Catalog.GetString ("Spacious"));
44
 
                        this.comboCompact.AppendText (global::Mono.Unix.Catalog.GetString ("Normal"));
45
 
                        this.comboCompact.AppendText (global::Mono.Unix.Catalog.GetString ("Compact"));
46
 
                        this.comboCompact.AppendText (global::Mono.Unix.Catalog.GetString ("Very compact"));
47
 
                        this.comboCompact.Name = "comboCompact";
48
 
                        this.comboCompact.Active = 2;
49
 
                        this.table1.Add (this.comboCompact);
50
 
                        global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboCompact]));
 
30
                        this.comboLanguage = global::Gtk.ComboBox.NewText ();
 
31
                        this.comboLanguage.Name = "comboLanguage";
 
32
                        this.table1.Add (this.comboLanguage);
 
33
                        global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboLanguage]));
51
34
                        w1.LeftAttach = ((uint)(1));
52
35
                        w1.RightAttach = ((uint)(2));
53
36
                        w1.XOptions = ((global::Gtk.AttachOptions)(4));
54
37
                        w1.YOptions = ((global::Gtk.AttachOptions)(4));
55
38
                        // Container child table1.Gtk.Table+TableChild
56
 
                        this.comboLanguage = global::Gtk.ComboBox.NewText ();
57
 
                        this.comboLanguage.Name = "comboLanguage";
58
 
                        this.table1.Add (this.comboLanguage);
59
 
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboLanguage]));
 
39
                        this.comboTheme = global::Gtk.ComboBox.NewText ();
 
40
                        this.comboTheme.Name = "comboTheme";
 
41
                        this.table1.Add (this.comboTheme);
 
42
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboTheme]));
60
43
                        w2.TopAttach = ((uint)(1));
61
44
                        w2.BottomAttach = ((uint)(2));
62
45
                        w2.LeftAttach = ((uint)(1));
64
47
                        w2.XOptions = ((global::Gtk.AttachOptions)(4));
65
48
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
66
49
                        // Container child table1.Gtk.Table+TableChild
67
 
                        this.comboTheme = global::Gtk.ComboBox.NewText ();
68
 
                        this.comboTheme.Name = "comboTheme";
69
 
                        this.table1.Add (this.comboTheme);
70
 
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboTheme]));
71
 
                        w3.TopAttach = ((uint)(2));
72
 
                        w3.BottomAttach = ((uint)(3));
73
 
                        w3.LeftAttach = ((uint)(1));
74
 
                        w3.RightAttach = ((uint)(2));
75
 
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
76
 
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
77
 
                        // Container child table1.Gtk.Table+TableChild
78
 
                        this.label1 = new global::Gtk.Label ();
79
 
                        this.label1.Name = "label1";
80
 
                        this.label1.Xalign = 0F;
81
 
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("_Toolbar icon size:");
82
 
                        this.label1.UseUnderline = true;
83
 
                        this.table1.Add (this.label1);
84
 
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
85
 
                        w4.TopAttach = ((uint)(3));
86
 
                        w4.BottomAttach = ((uint)(4));
87
 
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
88
 
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
89
 
                        // Container child table1.Gtk.Table+TableChild
90
50
                        this.label2 = new global::Gtk.Label ();
91
51
                        this.label2.Name = "label2";
92
52
                        this.label2.Xalign = 0F;
93
53
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("User Interface Language:");
94
54
                        this.table1.Add (this.label2);
95
 
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
96
 
                        w5.TopAttach = ((uint)(1));
97
 
                        w5.BottomAttach = ((uint)(2));
98
 
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
99
 
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
100
 
                        // Container child table1.Gtk.Table+TableChild
101
 
                        this.label3 = new global::Gtk.Label ();
102
 
                        this.label3.Name = "label3";
103
 
                        this.label3.Xalign = 0F;
104
 
                        this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("User Interface Theme:");
105
 
                        this.table1.Add (this.label3);
106
 
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
107
 
                        w6.TopAttach = ((uint)(2));
108
 
                        w6.BottomAttach = ((uint)(3));
109
 
                        w6.XOptions = ((global::Gtk.AttachOptions)(4));
110
 
                        w6.YOptions = ((global::Gtk.AttachOptions)(4));
111
 
                        // Container child table1.Gtk.Table+TableChild
112
 
                        this.label4 = new global::Gtk.Label ();
113
 
                        this.label4.Name = "label4";
114
 
                        this.label4.Xalign = 0F;
115
 
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Compactness:");
116
 
                        this.table1.Add (this.label4);
117
 
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
118
 
                        w7.XOptions = ((global::Gtk.AttachOptions)(4));
119
 
                        w7.YOptions = ((global::Gtk.AttachOptions)(4));
120
 
                        // Container child table1.Gtk.Table+TableChild
121
 
                        this.toolbarCombobox = global::Gtk.ComboBox.NewText ();
122
 
                        this.toolbarCombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Smallest"));
123
 
                        this.toolbarCombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Small"));
124
 
                        this.toolbarCombobox.AppendText (global::Mono.Unix.Catalog.GetString ("Large"));
125
 
                        this.toolbarCombobox.Name = "toolbarCombobox";
126
 
                        this.toolbarCombobox.Active = 1;
127
 
                        this.table1.Add (this.toolbarCombobox);
128
 
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.toolbarCombobox]));
129
 
                        w8.TopAttach = ((uint)(3));
130
 
                        w8.BottomAttach = ((uint)(4));
131
 
                        w8.LeftAttach = ((uint)(1));
132
 
                        w8.RightAttach = ((uint)(2));
133
 
                        w8.XOptions = ((global::Gtk.AttachOptions)(4));
134
 
                        w8.YOptions = ((global::Gtk.AttachOptions)(4));
 
55
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
 
56
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
 
57
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
 
58
                        // Container child table1.Gtk.Table+TableChild
 
59
                        this.labelTheme = new global::Gtk.Label ();
 
60
                        this.labelTheme.Name = "labelTheme";
 
61
                        this.labelTheme.Xalign = 0F;
 
62
                        this.labelTheme.LabelProp = global::Mono.Unix.Catalog.GetString ("User Interface Theme:");
 
63
                        this.table1.Add (this.labelTheme);
 
64
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelTheme]));
 
65
                        w4.TopAttach = ((uint)(1));
 
66
                        w4.BottomAttach = ((uint)(2));
 
67
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
 
68
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
135
69
                        this.vbox13.Add (this.table1);
136
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.table1]));
137
 
                        w9.Position = 0;
138
 
                        w9.Expand = false;
139
 
                        w9.Fill = false;
140
 
                        // Container child vbox13.Gtk.Box+BoxChild
141
 
                        this.hbox2 = new global::Gtk.HBox ();
142
 
                        this.hbox2.Name = "hbox2";
143
 
                        this.hbox2.Spacing = 6;
144
 
                        // Container child hbox2.Gtk.Box+BoxChild
145
 
                        this.fontCheckbox = new global::Gtk.CheckButton ();
146
 
                        this.fontCheckbox.Name = "fontCheckbox";
147
 
                        this.fontCheckbox.Label = global::Mono.Unix.Catalog.GetString ("_Custom font for pads:");
148
 
                        this.fontCheckbox.DrawIndicator = true;
149
 
                        this.fontCheckbox.UseUnderline = true;
150
 
                        this.hbox2.Add (this.fontCheckbox);
151
 
                        global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fontCheckbox]));
152
 
                        w10.Position = 0;
153
 
                        w10.Expand = false;
154
 
                        // Container child hbox2.Gtk.Box+BoxChild
155
 
                        this.fontButton = new global::Gtk.FontButton ();
156
 
                        this.fontButton.Name = "fontButton";
157
 
                        this.hbox2.Add (this.fontButton);
158
 
                        global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fontButton]));
159
 
                        w11.Position = 1;
160
 
                        w11.Expand = false;
161
 
                        w11.Fill = false;
162
 
                        this.vbox13.Add (this.hbox2);
163
 
                        global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox2]));
164
 
                        w12.Position = 1;
165
 
                        w12.Expand = false;
166
 
                        w12.Fill = false;
167
 
                        // Container child vbox13.Gtk.Box+BoxChild
168
 
                        this.hbox3 = new global::Gtk.HBox ();
169
 
                        this.hbox3.Name = "hbox3";
170
 
                        this.hbox3.Spacing = 6;
171
 
                        // Container child hbox3.Gtk.Box+BoxChild
172
 
                        this.fontOutputCheckbox = new global::Gtk.CheckButton ();
173
 
                        this.fontOutputCheckbox.Name = "fontOutputCheckbox";
174
 
                        this.fontOutputCheckbox.Label = global::Mono.Unix.Catalog.GetString ("_Custom font for Output pads:");
175
 
                        this.fontOutputCheckbox.DrawIndicator = true;
176
 
                        this.fontOutputCheckbox.UseUnderline = true;
177
 
                        this.hbox3.Add (this.fontOutputCheckbox);
178
 
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fontOutputCheckbox]));
179
 
                        w13.Position = 0;
180
 
                        w13.Expand = false;
181
 
                        // Container child hbox3.Gtk.Box+BoxChild
182
 
                        this.fontOutputButton = new global::Gtk.FontButton ();
183
 
                        this.fontOutputButton.Name = "fontOutputButton";
184
 
                        this.hbox3.Add (this.fontOutputButton);
185
 
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.fontOutputButton]));
186
 
                        w14.Position = 1;
187
 
                        w14.Expand = false;
188
 
                        w14.Fill = false;
189
 
                        this.vbox13.Add (this.hbox3);
190
 
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.hbox3]));
191
 
                        w15.Position = 2;
192
 
                        w15.Expand = false;
193
 
                        w15.Fill = false;
194
 
                        // Container child vbox13.Gtk.Box+BoxChild
195
 
                        this.documentSwitcherButton = new global::Gtk.CheckButton ();
196
 
                        this.documentSwitcherButton.CanFocus = true;
197
 
                        this.documentSwitcherButton.Name = "documentSwitcherButton";
198
 
                        this.documentSwitcherButton.Label = global::Mono.Unix.Catalog.GetString ("_Enable document switch dialog");
199
 
                        this.documentSwitcherButton.DrawIndicator = true;
200
 
                        this.documentSwitcherButton.UseUnderline = true;
201
 
                        this.vbox13.Add (this.documentSwitcherButton);
202
 
                        global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.documentSwitcherButton]));
203
 
                        w16.Position = 3;
204
 
                        w16.Expand = false;
205
 
                        w16.Fill = false;
 
70
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox13 [this.table1]));
 
71
                        w5.Position = 0;
 
72
                        w5.Expand = false;
 
73
                        w5.Fill = false;
206
74
                        this.Add (this.vbox13);
207
75
                        if ((this.Child != null)) {
208
76
                                this.Child.ShowAll ();
209
77
                        }
210
 
                        this.label1.MnemonicWidget = this.toolbarCombobox;
211
78
                        this.Show ();
212
79
                }
213
80
        }