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();
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.DefaultWidth = 550;
55
// Internal child Mono.Addins.Gui.NewSiteDialog.VBox
56
Gtk.VBox w1 = this.VBox;
57
w1.Name = "dialog-vbox11";
58
w1.BorderWidth = ((uint)(2));
59
// Container child dialog-vbox11.Gtk.Box+BoxChild
60
this.vbox89 = new Gtk.VBox();
61
this.vbox89.Name = "vbox89";
62
this.vbox89.Spacing = 6;
63
this.vbox89.BorderWidth = ((uint)(12));
64
// Container child vbox89.Gtk.Box+BoxChild
65
this.label121 = new Gtk.Label();
66
this.label121.Name = "label121";
67
this.label121.Xalign = 0F;
68
this.label121.LabelProp = Mono.Unix.Catalog.GetString("Select the location of the repository you want to register:");
69
this.vbox89.Add(this.label121);
70
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox89[this.label121]));
74
// Container child vbox89.Gtk.Box+BoxChild
75
this.btnOnlineRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register an on-line repository"));
76
this.btnOnlineRep.CanFocus = true;
77
this.btnOnlineRep.Name = "btnOnlineRep";
78
this.btnOnlineRep.Active = true;
79
this.btnOnlineRep.DrawIndicator = true;
80
this.btnOnlineRep.UseUnderline = true;
81
this.btnOnlineRep.Group = new GLib.SList(System.IntPtr.Zero);
82
this.vbox89.Add(this.btnOnlineRep);
83
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnOnlineRep]));
87
// Container child vbox89.Gtk.Box+BoxChild
88
this.hbox68 = new Gtk.HBox();
89
this.hbox68.Name = "hbox68";
90
this.hbox68.Spacing = 6;
91
// Container child hbox68.Gtk.Box+BoxChild
92
this.label122 = new Gtk.Label();
93
this.label122.WidthRequest = 32;
94
this.label122.Name = "label122";
95
this.label122.LabelProp = "";
96
this.hbox68.Add(this.label122);
97
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox68[this.label122]));
101
// Container child hbox68.Gtk.Box+BoxChild
102
this.label119 = new Gtk.Label();
103
this.label119.Name = "label119";
104
this.label119.LabelProp = Mono.Unix.Catalog.GetString("Url:");
105
this.hbox68.Add(this.label119);
106
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox68[this.label119]));
110
// Container child hbox68.Gtk.Box+BoxChild
111
this.urlText = new Gtk.Entry();
112
this.urlText.CanFocus = true;
113
this.urlText.Name = "urlText";
114
this.urlText.IsEditable = true;
115
this.urlText.InvisibleChar = '●';
116
this.hbox68.Add(this.urlText);
117
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox68[this.urlText]));
119
this.vbox89.Add(this.hbox68);
120
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox68]));
124
// Container child vbox89.Gtk.Box+BoxChild
125
this.btnLocalRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register a local repository"));
126
this.btnLocalRep.CanFocus = true;
127
this.btnLocalRep.Name = "btnLocalRep";
128
this.btnLocalRep.DrawIndicator = true;
129
this.btnLocalRep.UseUnderline = true;
130
this.btnLocalRep.Group = this.btnOnlineRep.Group;
131
this.vbox89.Add(this.btnLocalRep);
132
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnLocalRep]));
136
// Container child vbox89.Gtk.Box+BoxChild
137
this.hbox69 = new Gtk.HBox();
138
this.hbox69.Name = "hbox69";
139
this.hbox69.Spacing = 6;
140
// Container child hbox69.Gtk.Box+BoxChild
141
this.label123 = new Gtk.Label();
142
this.label123.WidthRequest = 32;
143
this.label123.Name = "label123";
144
this.label123.LabelProp = "";
145
this.hbox69.Add(this.label123);
146
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox69[this.label123]));
150
// Container child hbox69.Gtk.Box+BoxChild
151
this.label120 = new Gtk.Label();
152
this.label120.Name = "label120";
153
this.label120.LabelProp = Mono.Unix.Catalog.GetString("Path:");
154
this.hbox69.Add(this.label120);
155
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox69[this.label120]));
159
// Container child hbox69.Gtk.Box+BoxChild
160
this.hbox1 = new Gtk.HBox();
161
this.hbox1.Name = "hbox1";
162
this.hbox1.Spacing = 6;
163
// Container child hbox1.Gtk.Box+BoxChild
164
this.pathEntry = new Gtk.Entry();
165
this.pathEntry.CanFocus = true;
166
this.pathEntry.Name = "pathEntry";
167
this.pathEntry.IsEditable = true;
168
this.pathEntry.InvisibleChar = '●';
169
this.hbox1.Add(this.pathEntry);
170
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.pathEntry]));
172
// Container child hbox1.Gtk.Box+BoxChild
173
this.buttonBrowse = new Gtk.Button();
174
this.buttonBrowse.CanFocus = true;
175
this.buttonBrowse.Name = "buttonBrowse";
176
this.buttonBrowse.UseUnderline = true;
177
this.buttonBrowse.Label = Mono.Unix.Catalog.GetString("Browse...");
178
this.hbox1.Add(this.buttonBrowse);
179
Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.buttonBrowse]));
183
this.hbox69.Add(this.hbox1);
184
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox69[this.hbox1]));
186
this.vbox89.Add(this.hbox69);
187
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox69]));
192
Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.vbox89]));
194
// Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
195
Gtk.HButtonBox w16 = this.ActionArea;
196
w16.Name = "dialog-action_area11";
198
w16.BorderWidth = ((uint)(5));
199
w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
200
// Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
201
this.cancelbutton1 = new Gtk.Button();
202
this.cancelbutton1.CanDefault = true;
203
this.cancelbutton1.CanFocus = true;
204
this.cancelbutton1.Name = "cancelbutton1";
205
this.cancelbutton1.UseStock = true;
206
this.cancelbutton1.UseUnderline = true;
207
this.cancelbutton1.Label = "gtk-cancel";
208
this.AddActionWidget(this.cancelbutton1, -6);
209
// Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
210
this.btnOk = new Gtk.Button();
211
this.btnOk.CanDefault = true;
212
this.btnOk.CanFocus = true;
213
this.btnOk.Name = "btnOk";
214
this.btnOk.UseStock = true;
215
this.btnOk.UseUnderline = true;
216
this.btnOk.Label = "gtk-ok";
217
this.AddActionWidget(this.btnOk, -5);
218
Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.btnOk]));
220
if ((this.Child != null)) {
221
this.Child.ShowAll();
223
this.DefaultHeight = 235;
225
this.btnOnlineRep.Clicked += new System.EventHandler(this.OnOptionClicked);
226
this.btnLocalRep.Clicked += new System.EventHandler(this.OnOptionClicked);
227
this.pathEntry.Changed += new System.EventHandler(this.OnPathEntryChanged);
228
this.buttonBrowse.Clicked += new System.EventHandler(this.OnButtonBrowseClicked);