~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.OptionPanels.AuthorInformationPanelWidget.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
        internal partial class AuthorInformationPanelWidget
6
6
        {
7
7
                private global::Gtk.VBox vbox1;
8
 
 
9
8
                private global::Gtk.CheckButton checkCustom;
10
 
 
11
9
                private global::Gtk.Alignment alignment1;
12
 
 
13
10
                private global::Gtk.Table infoTable;
14
 
 
 
11
                private global::Gtk.Entry companyEntry;
15
12
                private global::Gtk.Entry copyrightEntry;
16
 
 
17
13
                private global::Gtk.Entry emailEntry;
18
 
 
19
14
                private global::Gtk.Label label2;
20
 
 
21
15
                private global::Gtk.Label label3;
22
 
 
23
16
                private global::Gtk.Label label4;
24
 
 
 
17
                private global::Gtk.Label label5;
 
18
                private global::Gtk.Label label6;
25
19
                private global::Gtk.Entry nameEntry;
 
20
                private global::Gtk.Entry trademarkEntry;
26
21
 
27
22
                protected virtual void Build ()
28
23
                {
42
37
                        this.checkCustom.DrawIndicator = true;
43
38
                        this.checkCustom.UseUnderline = true;
44
39
                        this.vbox1.Add (this.checkCustom);
45
 
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.checkCustom]));
 
40
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.checkCustom]));
46
41
                        w1.Position = 1;
47
42
                        w1.Expand = false;
48
43
                        w1.Fill = false;
49
44
                        // Container child vbox1.Gtk.Box+BoxChild
50
 
                        this.alignment1 = new global::Gtk.Alignment (0f, 0f, 1f, 1f);
 
45
                        this.alignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
51
46
                        this.alignment1.Name = "alignment1";
52
47
                        this.alignment1.LeftPadding = ((uint)(24));
53
48
                        // Container child alignment1.Gtk.Container+ContainerChild
54
 
                        this.infoTable = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
 
49
                        this.infoTable = new global::Gtk.Table (((uint)(5)), ((uint)(2)), false);
55
50
                        this.infoTable.Name = "infoTable";
56
51
                        this.infoTable.RowSpacing = ((uint)(6));
57
52
                        this.infoTable.ColumnSpacing = ((uint)(6));
58
53
                        // Container child infoTable.Gtk.Table+TableChild
 
54
                        this.companyEntry = new global::Gtk.Entry ();
 
55
                        this.companyEntry.CanFocus = true;
 
56
                        this.companyEntry.Name = "companyEntry";
 
57
                        this.companyEntry.IsEditable = true;
 
58
                        this.companyEntry.InvisibleChar = '●';
 
59
                        this.infoTable.Add (this.companyEntry);
 
60
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.infoTable [this.companyEntry]));
 
61
                        w2.TopAttach = ((uint)(3));
 
62
                        w2.BottomAttach = ((uint)(4));
 
63
                        w2.LeftAttach = ((uint)(1));
 
64
                        w2.RightAttach = ((uint)(2));
 
65
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
 
66
                        // Container child infoTable.Gtk.Table+TableChild
59
67
                        this.copyrightEntry = new global::Gtk.Entry ();
60
68
                        this.copyrightEntry.CanFocus = true;
61
69
                        this.copyrightEntry.Name = "copyrightEntry";
62
70
                        this.copyrightEntry.IsEditable = true;
63
71
                        this.copyrightEntry.InvisibleChar = '●';
64
72
                        this.infoTable.Add (this.copyrightEntry);
65
 
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.infoTable[this.copyrightEntry]));
66
 
                        w2.TopAttach = ((uint)(2));
67
 
                        w2.BottomAttach = ((uint)(3));
68
 
                        w2.LeftAttach = ((uint)(1));
69
 
                        w2.RightAttach = ((uint)(2));
70
 
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
 
73
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.infoTable [this.copyrightEntry]));
 
74
                        w3.TopAttach = ((uint)(2));
 
75
                        w3.BottomAttach = ((uint)(3));
 
76
                        w3.LeftAttach = ((uint)(1));
 
77
                        w3.RightAttach = ((uint)(2));
 
78
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
71
79
                        // Container child infoTable.Gtk.Table+TableChild
72
80
                        this.emailEntry = new global::Gtk.Entry ();
73
81
                        this.emailEntry.CanFocus = true;
75
83
                        this.emailEntry.IsEditable = true;
76
84
                        this.emailEntry.InvisibleChar = '●';
77
85
                        this.infoTable.Add (this.emailEntry);
78
 
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.infoTable[this.emailEntry]));
79
 
                        w3.TopAttach = ((uint)(1));
80
 
                        w3.BottomAttach = ((uint)(2));
81
 
                        w3.LeftAttach = ((uint)(1));
82
 
                        w3.RightAttach = ((uint)(2));
83
 
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
 
86
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.infoTable [this.emailEntry]));
 
87
                        w4.TopAttach = ((uint)(1));
 
88
                        w4.BottomAttach = ((uint)(2));
 
89
                        w4.LeftAttach = ((uint)(1));
 
90
                        w4.RightAttach = ((uint)(2));
 
91
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
84
92
                        // Container child infoTable.Gtk.Table+TableChild
85
93
                        this.label2 = new global::Gtk.Label ();
86
94
                        this.label2.Name = "label2";
87
 
                        this.label2.Xalign = 0f;
 
95
                        this.label2.Xalign = 0F;
88
96
                        this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_Name:");
89
97
                        this.label2.UseUnderline = true;
90
98
                        this.infoTable.Add (this.label2);
91
 
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.infoTable[this.label2]));
92
 
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
93
 
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
 
99
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.infoTable [this.label2]));
 
100
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
 
101
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
94
102
                        // Container child infoTable.Gtk.Table+TableChild
95
103
                        this.label3 = new global::Gtk.Label ();
96
104
                        this.label3.Name = "label3";
97
 
                        this.label3.Xalign = 0f;
 
105
                        this.label3.Xalign = 0F;
98
106
                        this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_Copyright:");
99
107
                        this.label3.UseUnderline = true;
100
108
                        this.infoTable.Add (this.label3);
101
 
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.infoTable[this.label3]));
102
 
                        w5.TopAttach = ((uint)(2));
103
 
                        w5.BottomAttach = ((uint)(3));
104
 
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
105
 
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
 
109
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.infoTable [this.label3]));
 
110
                        w6.TopAttach = ((uint)(2));
 
111
                        w6.BottomAttach = ((uint)(3));
 
112
                        w6.XOptions = ((global::Gtk.AttachOptions)(4));
 
113
                        w6.YOptions = ((global::Gtk.AttachOptions)(4));
106
114
                        // Container child infoTable.Gtk.Table+TableChild
107
115
                        this.label4 = new global::Gtk.Label ();
108
116
                        this.label4.Name = "label4";
109
 
                        this.label4.Xalign = 0f;
 
117
                        this.label4.Xalign = 0F;
110
118
                        this.label4.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_Email:");
111
119
                        this.label4.UseUnderline = true;
112
120
                        this.infoTable.Add (this.label4);
113
 
                        global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.infoTable[this.label4]));
114
 
                        w6.TopAttach = ((uint)(1));
115
 
                        w6.BottomAttach = ((uint)(2));
116
 
                        w6.XOptions = ((global::Gtk.AttachOptions)(4));
117
 
                        w6.YOptions = ((global::Gtk.AttachOptions)(4));
 
121
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.infoTable [this.label4]));
 
122
                        w7.TopAttach = ((uint)(1));
 
123
                        w7.BottomAttach = ((uint)(2));
 
124
                        w7.XOptions = ((global::Gtk.AttachOptions)(4));
 
125
                        w7.YOptions = ((global::Gtk.AttachOptions)(4));
 
126
                        // Container child infoTable.Gtk.Table+TableChild
 
127
                        this.label5 = new global::Gtk.Label ();
 
128
                        this.label5.Name = "label5";
 
129
                        this.label5.Xalign = 0F;
 
130
                        this.label5.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("C_ompany:");
 
131
                        this.label5.UseUnderline = true;
 
132
                        this.infoTable.Add (this.label5);
 
133
                        global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.infoTable [this.label5]));
 
134
                        w8.TopAttach = ((uint)(3));
 
135
                        w8.BottomAttach = ((uint)(4));
 
136
                        w8.XOptions = ((global::Gtk.AttachOptions)(4));
 
137
                        w8.YOptions = ((global::Gtk.AttachOptions)(4));
 
138
                        // Container child infoTable.Gtk.Table+TableChild
 
139
                        this.label6 = new global::Gtk.Label ();
 
140
                        this.label6.Name = "label6";
 
141
                        this.label6.Xalign = 0F;
 
142
                        this.label6.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("_Trademark:");
 
143
                        this.label6.UseUnderline = true;
 
144
                        this.infoTable.Add (this.label6);
 
145
                        global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.infoTable [this.label6]));
 
146
                        w9.TopAttach = ((uint)(4));
 
147
                        w9.BottomAttach = ((uint)(5));
 
148
                        w9.XOptions = ((global::Gtk.AttachOptions)(4));
 
149
                        w9.YOptions = ((global::Gtk.AttachOptions)(4));
118
150
                        // Container child infoTable.Gtk.Table+TableChild
119
151
                        this.nameEntry = new global::Gtk.Entry ();
120
152
                        this.nameEntry.CanFocus = true;
122
154
                        this.nameEntry.IsEditable = true;
123
155
                        this.nameEntry.InvisibleChar = '●';
124
156
                        this.infoTable.Add (this.nameEntry);
125
 
                        global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.infoTable[this.nameEntry]));
126
 
                        w7.LeftAttach = ((uint)(1));
127
 
                        w7.RightAttach = ((uint)(2));
128
 
                        w7.YOptions = ((global::Gtk.AttachOptions)(4));
 
157
                        global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.infoTable [this.nameEntry]));
 
158
                        w10.LeftAttach = ((uint)(1));
 
159
                        w10.RightAttach = ((uint)(2));
 
160
                        w10.YOptions = ((global::Gtk.AttachOptions)(4));
 
161
                        // Container child infoTable.Gtk.Table+TableChild
 
162
                        this.trademarkEntry = new global::Gtk.Entry ();
 
163
                        this.trademarkEntry.CanFocus = true;
 
164
                        this.trademarkEntry.Name = "trademarkEntry";
 
165
                        this.trademarkEntry.IsEditable = true;
 
166
                        this.trademarkEntry.InvisibleChar = '●';
 
167
                        this.infoTable.Add (this.trademarkEntry);
 
168
                        global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.infoTable [this.trademarkEntry]));
 
169
                        w11.TopAttach = ((uint)(4));
 
170
                        w11.BottomAttach = ((uint)(5));
 
171
                        w11.LeftAttach = ((uint)(1));
 
172
                        w11.RightAttach = ((uint)(2));
 
173
                        w11.YOptions = ((global::Gtk.AttachOptions)(4));
129
174
                        this.alignment1.Add (this.infoTable);
130
175
                        this.vbox1.Add (this.alignment1);
131
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.alignment1]));
132
 
                        w9.Position = 2;
133
 
                        w9.Expand = false;
134
 
                        w9.Fill = false;
 
176
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment1]));
 
177
                        w13.Position = 2;
 
178
                        w13.Expand = false;
 
179
                        w13.Fill = false;
135
180
                        this.Add (this.vbox1);
136
181
                        if ((this.Child != null)) {
137
182
                                this.Child.ShowAll ();