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

« back to all changes in this revision

Viewing changes to external/mono-addins/Mono.Addins.Gui/gtk-gui/Mono.Addins.Gui.NewSiteDialog.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:
 
1
 
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Mono.Addins.Gui
 
4
{
 
5
        internal partial class NewSiteDialog
 
6
        {
 
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;
 
23
 
 
24
                protected virtual void Build ()
 
25
                {
 
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";
 
36
                        w1.Spacing = 6;
 
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]));
 
50
                        w2.Position = 0;
 
51
                        w2.Expand = false;
 
52
                        w2.Fill = false;
 
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]));
 
63
                        w3.Position = 1;
 
64
                        w3.Expand = false;
 
65
                        w3.Fill = false;
 
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]));
 
76
                        w4.Position = 0;
 
77
                        w4.Expand = false;
 
78
                        w4.Fill = false;
 
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]));
 
85
                        w5.Position = 1;
 
86
                        w5.Expand = false;
 
87
                        w5.Fill = false;
 
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]));
 
96
                        w6.Position = 2;
 
97
                        this.vbox89.Add (this.hbox68);
 
98
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.hbox68]));
 
99
                        w7.Position = 2;
 
100
                        w7.Expand = false;
 
101
                        w7.Fill = false;
 
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]));
 
111
                        w8.Position = 3;
 
112
                        w8.Expand = false;
 
113
                        w8.Fill = false;
 
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]));
 
124
                        w9.Position = 0;
 
125
                        w9.Expand = false;
 
126
                        w9.Fill = false;
 
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]));
 
133
                        w10.Position = 1;
 
134
                        w10.Expand = false;
 
135
                        w10.Fill = false;
 
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]));
 
148
                        w11.Position = 0;
 
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]));
 
157
                        w12.Position = 1;
 
158
                        w12.Expand = false;
 
159
                        w12.Fill = false;
 
160
                        this.hbox69.Add (this.hbox1);
 
161
                        global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox69 [this.hbox1]));
 
162
                        w13.Position = 2;
 
163
                        this.vbox89.Add (this.hbox69);
 
164
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox89 [this.hbox69]));
 
165
                        w14.Position = 4;
 
166
                        w14.Expand = false;
 
167
                        w14.Fill = false;
 
168
                        w1.Add (this.vbox89);
 
169
                        global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox89]));
 
170
                        w15.Position = 0;
 
171
                        // Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
 
172
                        global::Gtk.HButtonBox w16 = this.ActionArea;
 
173
                        w16.Name = "dialog-action_area11";
 
174
                        w16.Spacing = 10;
 
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]));
 
187
                        w17.Expand = false;
 
188
                        w17.Fill = false;
 
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]));
 
199
                        w18.Position = 1;
 
200
                        w18.Expand = false;
 
201
                        w18.Fill = false;
 
202
                        if ((this.Child != null)) {
 
203
                                this.Child.ShowAll ();
 
204
                        }
 
205
                        this.DefaultHeight = 249;
 
206
                        this.Hide ();
 
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);
 
212
                }
 
213
        }
 
214
}