2
// This file has been generated by the GUI designer. Do not modify.
3
namespace Mono.Addins.Gui
5
internal partial class NewSiteDialog
7
private global::Gtk.VBox vbox89;
8
private global::Gtk.Label label121;
9
private global::Gtk.RadioButton btnOnlineRep;
10
private global::Gtk.HBox hbox68;
11
private global::Gtk.Label label122;
12
private global::Gtk.Label label119;
13
private global::Gtk.Entry urlText;
14
private global::Gtk.RadioButton btnLocalRep;
15
private global::Gtk.HBox hbox69;
16
private global::Gtk.Label label123;
17
private global::Gtk.Label label120;
18
private global::Gtk.HBox hbox1;
19
private global::Gtk.Entry pathEntry;
20
private global::Gtk.Button buttonBrowse;
21
private global::Gtk.Button cancelbutton1;
22
private global::Gtk.Button btnOk;
24
protected virtual void Build ()
26
global::Stetic.Gui.Initialize (this);
27
// Widget Mono.Addins.Gui.NewSiteDialog
28
this.Name = "Mono.Addins.Gui.NewSiteDialog";
29
this.Title = global::Mono.Unix.Catalog.GetString ("Add New Repository");
30
this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
31
this.BorderWidth = ((uint)(6));
32
this.DefaultWidth = 550;
33
// Internal child Mono.Addins.Gui.NewSiteDialog.VBox
34
global::Gtk.VBox w1 = this.VBox;
35
w1.Name = "dialog-vbox11";
37
w1.BorderWidth = ((uint)(2));
38
// Container child dialog-vbox11.Gtk.Box+BoxChild
39
this.vbox89 = new global::Gtk.VBox ();
40
this.vbox89.Name = "vbox89";
41
this.vbox89.Spacing = 6;
42
this.vbox89.BorderWidth = ((uint)(6));
43
// Container child vbox89.Gtk.Box+BoxChild
44
this.label121 = new global::Gtk.Label ();
45
this.label121.Name = "label121";
46
this.label121.Xalign = 0F;
47
this.label121.LabelProp = global::Mono.Unix.Catalog.GetString ("Select the location of the repository you want to register:");
48
this.vbox89.Add (this.label121);
49
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.label121]));
53
// Container child vbox89.Gtk.Box+BoxChild
54
this.btnOnlineRep = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Register an on-line repository"));
55
this.btnOnlineRep.CanFocus = true;
56
this.btnOnlineRep.Name = "btnOnlineRep";
57
this.btnOnlineRep.Active = true;
58
this.btnOnlineRep.DrawIndicator = true;
59
this.btnOnlineRep.UseUnderline = true;
60
this.btnOnlineRep.Group = new global::GLib.SList (global::System.IntPtr.Zero);
61
this.vbox89.Add (this.btnOnlineRep);
62
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.btnOnlineRep]));
66
// Container child vbox89.Gtk.Box+BoxChild
67
this.hbox68 = new global::Gtk.HBox ();
68
this.hbox68.Name = "hbox68";
69
this.hbox68.Spacing = 6;
70
// Container child hbox68.Gtk.Box+BoxChild
71
this.label122 = new global::Gtk.Label ();
72
this.label122.WidthRequest = 32;
73
this.label122.Name = "label122";
74
this.hbox68.Add (this.label122);
75
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox68 [this.label122]));
79
// Container child hbox68.Gtk.Box+BoxChild
80
this.label119 = new global::Gtk.Label ();
81
this.label119.Name = "label119";
82
this.label119.LabelProp = global::Mono.Unix.Catalog.GetString ("Url:");
83
this.hbox68.Add (this.label119);
84
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox68 [this.label119]));
88
// Container child hbox68.Gtk.Box+BoxChild
89
this.urlText = new global::Gtk.Entry ();
90
this.urlText.CanFocus = true;
91
this.urlText.Name = "urlText";
92
this.urlText.IsEditable = true;
93
this.urlText.InvisibleChar = '●';
94
this.hbox68.Add (this.urlText);
95
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox68 [this.urlText]));
97
this.vbox89.Add (this.hbox68);
98
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.hbox68]));
102
// Container child vbox89.Gtk.Box+BoxChild
103
this.btnLocalRep = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("Register a local repository"));
104
this.btnLocalRep.CanFocus = true;
105
this.btnLocalRep.Name = "btnLocalRep";
106
this.btnLocalRep.DrawIndicator = true;
107
this.btnLocalRep.UseUnderline = true;
108
this.btnLocalRep.Group = this.btnOnlineRep.Group;
109
this.vbox89.Add (this.btnLocalRep);
110
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.btnLocalRep]));
114
// Container child vbox89.Gtk.Box+BoxChild
115
this.hbox69 = new global::Gtk.HBox ();
116
this.hbox69.Name = "hbox69";
117
this.hbox69.Spacing = 6;
118
// Container child hbox69.Gtk.Box+BoxChild
119
this.label123 = new global::Gtk.Label ();
120
this.label123.WidthRequest = 32;
121
this.label123.Name = "label123";
122
this.hbox69.Add (this.label123);
123
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox69 [this.label123]));
127
// Container child hbox69.Gtk.Box+BoxChild
128
this.label120 = new global::Gtk.Label ();
129
this.label120.Name = "label120";
130
this.label120.LabelProp = global::Mono.Unix.Catalog.GetString ("Path:");
131
this.hbox69.Add (this.label120);
132
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox69 [this.label120]));
136
// Container child hbox69.Gtk.Box+BoxChild
137
this.hbox1 = new global::Gtk.HBox ();
138
this.hbox1.Name = "hbox1";
139
this.hbox1.Spacing = 6;
140
// Container child hbox1.Gtk.Box+BoxChild
141
this.pathEntry = new global::Gtk.Entry ();
142
this.pathEntry.CanFocus = true;
143
this.pathEntry.Name = "pathEntry";
144
this.pathEntry.IsEditable = true;
145
this.pathEntry.InvisibleChar = '●';
146
this.hbox1.Add (this.pathEntry);
147
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.pathEntry]));
149
// Container child hbox1.Gtk.Box+BoxChild
150
this.buttonBrowse = new global::Gtk.Button ();
151
this.buttonBrowse.CanFocus = true;
152
this.buttonBrowse.Name = "buttonBrowse";
153
this.buttonBrowse.UseUnderline = true;
154
this.buttonBrowse.Label = global::Mono.Unix.Catalog.GetString ("Browse...");
155
this.hbox1.Add (this.buttonBrowse);
156
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonBrowse]));
160
this.hbox69.Add (this.hbox1);
161
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox69 [this.hbox1]));
163
this.vbox89.Add (this.hbox69);
164
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.hbox69]));
168
w1.Add (this.vbox89);
169
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox89]));
171
// Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
172
global::Gtk.HButtonBox w16 = this.ActionArea;
173
w16.Name = "dialog-action_area11";
175
w16.BorderWidth = ((uint)(5));
176
w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
177
// Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
178
this.cancelbutton1 = new global::Gtk.Button ();
179
this.cancelbutton1.CanDefault = true;
180
this.cancelbutton1.CanFocus = true;
181
this.cancelbutton1.Name = "cancelbutton1";
182
this.cancelbutton1.UseStock = true;
183
this.cancelbutton1.UseUnderline = true;
184
this.cancelbutton1.Label = "gtk-cancel";
185
this.AddActionWidget (this.cancelbutton1, -6);
186
global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.cancelbutton1]));
189
// Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
190
this.btnOk = new global::Gtk.Button ();
191
this.btnOk.CanDefault = true;
192
this.btnOk.CanFocus = true;
193
this.btnOk.Name = "btnOk";
194
this.btnOk.UseStock = true;
195
this.btnOk.UseUnderline = true;
196
this.btnOk.Label = "gtk-ok";
197
this.AddActionWidget (this.btnOk, -5);
198
global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16 [this.btnOk]));
202
if ((this.Child != null)) {
203
this.Child.ShowAll ();
205
this.DefaultHeight = 249;
207
this.btnOnlineRep.Clicked += new global::System.EventHandler (this.OnOptionClicked);
208
this.urlText.Changed += new global::System.EventHandler (this.OnUrlTextChanged);
209
this.btnLocalRep.Clicked += new global::System.EventHandler (this.OnOptionClicked);
210
this.pathEntry.Changed += new global::System.EventHandler (this.OnPathEntryChanged);
211
this.buttonBrowse.Clicked += new global::System.EventHandler (this.OnButtonBrowseClicked);