1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
4
// Mono Runtime Version: 2.0.50727.42
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace Mono.Addins.Gui {
14
internal partial class NewSiteDialog {
16
private Gtk.VBox vbox89;
18
private Gtk.Label label121;
20
private Gtk.RadioButton btnOnlineRep;
22
private Gtk.HBox hbox68;
24
private Gtk.Label label122;
26
private Gtk.Label label119;
28
private Gtk.Entry urlText;
30
private Gtk.RadioButton btnLocalRep;
32
private Gtk.HBox hbox69;
34
private Gtk.Label label123;
36
private Gtk.Label label120;
38
private Gtk.HBox hbox1;
40
private Gtk.Entry pathEntry;
42
private Gtk.Button buttonBrowse;
44
private Gtk.Button cancelbutton1;
46
private Gtk.Button btnOk;
48
protected virtual void Build() {
49
Stetic.Gui.Initialize(this);
50
// Widget Mono.Addins.Gui.NewSiteDialog
51
this.Name = "Mono.Addins.Gui.NewSiteDialog";
52
this.Title = Mono.Unix.Catalog.GetString("Add New Repository");
53
this.TypeHint = ((Gdk.WindowTypeHint)(1));
54
this.BorderWidth = ((uint)(6));
55
this.DefaultWidth = 550;
56
// Internal child Mono.Addins.Gui.NewSiteDialog.VBox
57
Gtk.VBox w1 = this.VBox;
58
w1.Name = "dialog-vbox11";
60
w1.BorderWidth = ((uint)(2));
61
// Container child dialog-vbox11.Gtk.Box+BoxChild
62
this.vbox89 = new Gtk.VBox();
63
this.vbox89.Name = "vbox89";
64
this.vbox89.Spacing = 6;
65
this.vbox89.BorderWidth = ((uint)(6));
66
// Container child vbox89.Gtk.Box+BoxChild
67
this.label121 = new Gtk.Label();
68
this.label121.Name = "label121";
69
this.label121.Xalign = 0F;
70
this.label121.LabelProp = Mono.Unix.Catalog.GetString("Select the location of the repository you want to register:");
71
this.vbox89.Add(this.label121);
72
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox89[this.label121]));
76
// Container child vbox89.Gtk.Box+BoxChild
77
this.btnOnlineRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register an on-line repository"));
78
this.btnOnlineRep.CanFocus = true;
79
this.btnOnlineRep.Name = "btnOnlineRep";
80
this.btnOnlineRep.Active = true;
81
this.btnOnlineRep.DrawIndicator = true;
82
this.btnOnlineRep.UseUnderline = true;
83
this.btnOnlineRep.Group = new GLib.SList(System.IntPtr.Zero);
84
this.vbox89.Add(this.btnOnlineRep);
85
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnOnlineRep]));
89
// Container child vbox89.Gtk.Box+BoxChild
90
this.hbox68 = new Gtk.HBox();
91
this.hbox68.Name = "hbox68";
92
this.hbox68.Spacing = 6;
93
// Container child hbox68.Gtk.Box+BoxChild
94
this.label122 = new Gtk.Label();
95
this.label122.WidthRequest = 32;
96
this.label122.Name = "label122";
97
this.label122.LabelProp = "";
98
this.hbox68.Add(this.label122);
99
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox68[this.label122]));
103
// Container child hbox68.Gtk.Box+BoxChild
104
this.label119 = new Gtk.Label();
105
this.label119.Name = "label119";
106
this.label119.LabelProp = Mono.Unix.Catalog.GetString("Url:");
107
this.hbox68.Add(this.label119);
108
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox68[this.label119]));
112
// Container child hbox68.Gtk.Box+BoxChild
113
this.urlText = new Gtk.Entry();
114
this.urlText.CanFocus = true;
115
this.urlText.Name = "urlText";
116
this.urlText.IsEditable = true;
117
this.urlText.InvisibleChar = '●';
118
this.hbox68.Add(this.urlText);
119
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox68[this.urlText]));
121
this.vbox89.Add(this.hbox68);
122
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox68]));
126
// Container child vbox89.Gtk.Box+BoxChild
127
this.btnLocalRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register a local repository"));
128
this.btnLocalRep.CanFocus = true;
129
this.btnLocalRep.Name = "btnLocalRep";
130
this.btnLocalRep.DrawIndicator = true;
131
this.btnLocalRep.UseUnderline = true;
132
this.btnLocalRep.Group = this.btnOnlineRep.Group;
133
this.vbox89.Add(this.btnLocalRep);
134
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnLocalRep]));
138
// Container child vbox89.Gtk.Box+BoxChild
139
this.hbox69 = new Gtk.HBox();
140
this.hbox69.Name = "hbox69";
141
this.hbox69.Spacing = 6;
142
// Container child hbox69.Gtk.Box+BoxChild
143
this.label123 = new Gtk.Label();
144
this.label123.WidthRequest = 32;
145
this.label123.Name = "label123";
146
this.label123.LabelProp = "";
147
this.hbox69.Add(this.label123);
148
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox69[this.label123]));
152
// Container child hbox69.Gtk.Box+BoxChild
153
this.label120 = new Gtk.Label();
154
this.label120.Name = "label120";
155
this.label120.LabelProp = Mono.Unix.Catalog.GetString("Path:");
156
this.hbox69.Add(this.label120);
157
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox69[this.label120]));
161
// Container child hbox69.Gtk.Box+BoxChild
162
this.hbox1 = new Gtk.HBox();
163
this.hbox1.Name = "hbox1";
164
this.hbox1.Spacing = 6;
165
// Container child hbox1.Gtk.Box+BoxChild
166
this.pathEntry = new Gtk.Entry();
167
this.pathEntry.CanFocus = true;
168
this.pathEntry.Name = "pathEntry";
169
this.pathEntry.IsEditable = true;
170
this.pathEntry.InvisibleChar = '●';
171
this.hbox1.Add(this.pathEntry);
172
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.pathEntry]));
174
// Container child hbox1.Gtk.Box+BoxChild
175
this.buttonBrowse = new Gtk.Button();
176
this.buttonBrowse.CanFocus = true;
177
this.buttonBrowse.Name = "buttonBrowse";
178
this.buttonBrowse.UseUnderline = true;
179
this.buttonBrowse.Label = Mono.Unix.Catalog.GetString("Browse...");
180
this.hbox1.Add(this.buttonBrowse);
181
Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.buttonBrowse]));
185
this.hbox69.Add(this.hbox1);
186
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox69[this.hbox1]));
188
this.vbox89.Add(this.hbox69);
189
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox69]));
194
Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.vbox89]));
196
// Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
197
Gtk.HButtonBox w16 = this.ActionArea;
198
w16.Name = "dialog-action_area11";
200
w16.BorderWidth = ((uint)(5));
201
w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
202
// Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
203
this.cancelbutton1 = new Gtk.Button();
204
this.cancelbutton1.CanDefault = true;
205
this.cancelbutton1.CanFocus = true;
206
this.cancelbutton1.Name = "cancelbutton1";
207
this.cancelbutton1.UseStock = true;
208
this.cancelbutton1.UseUnderline = true;
209
this.cancelbutton1.Label = "gtk-cancel";
210
this.AddActionWidget(this.cancelbutton1, -6);
211
// Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
212
this.btnOk = new Gtk.Button();
213
this.btnOk.CanDefault = true;
214
this.btnOk.CanFocus = true;
215
this.btnOk.Name = "btnOk";
216
this.btnOk.UseStock = true;
217
this.btnOk.UseUnderline = true;
218
this.btnOk.Label = "gtk-ok";
219
this.AddActionWidget(this.btnOk, -5);
220
Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.btnOk]));
222
if ((this.Child != null)) {
223
this.Child.ShowAll();
225
this.DefaultHeight = 249;
227
this.btnOnlineRep.Clicked += new System.EventHandler(this.OnOptionClicked);
228
this.urlText.Changed += new System.EventHandler(this.OnUrlTextChanged);
229
this.btnLocalRep.Clicked += new System.EventHandler(this.OnOptionClicked);
230
this.pathEntry.Changed += new System.EventHandler(this.OnPathEntryChanged);
231
this.buttonBrowse.Clicked += new System.EventHandler(this.OnButtonBrowseClicked);