~do-win/do/test-paths

« back to all changes in this revision

Viewing changes to Mono.Addins.Gui/gtk-gui/.svn/text-base/Mono.Addins.Gui.NewSiteDialog.cs.svn-base

  • Committer: Chris S.
  • Date: 2009-06-21 03:37:34 UTC
  • Revision ID: chris@szikszoy.com-20090621033734-ud2jdcd5pq9r3ue9
initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      Mono Runtime Version: 2.0.50727.42
 
5
// 
 
6
//      Changes to this file may cause incorrect behavior and will be lost if 
 
7
//      the code is regenerated.
 
8
//  </autogenerated>
 
9
// ------------------------------------------------------------------------------
 
10
 
 
11
namespace Mono.Addins.Gui {
 
12
    
 
13
    
 
14
    internal partial class NewSiteDialog {
 
15
        
 
16
        private Gtk.VBox vbox89;
 
17
        
 
18
        private Gtk.Label label121;
 
19
        
 
20
        private Gtk.RadioButton btnOnlineRep;
 
21
        
 
22
        private Gtk.HBox hbox68;
 
23
        
 
24
        private Gtk.Label label122;
 
25
        
 
26
        private Gtk.Label label119;
 
27
        
 
28
        private Gtk.Entry urlText;
 
29
        
 
30
        private Gtk.RadioButton btnLocalRep;
 
31
        
 
32
        private Gtk.HBox hbox69;
 
33
        
 
34
        private Gtk.Label label123;
 
35
        
 
36
        private Gtk.Label label120;
 
37
        
 
38
        private Gtk.HBox hbox1;
 
39
        
 
40
        private Gtk.Entry pathEntry;
 
41
        
 
42
        private Gtk.Button buttonBrowse;
 
43
        
 
44
        private Gtk.Button cancelbutton1;
 
45
        
 
46
        private Gtk.Button btnOk;
 
47
        
 
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";
 
59
            w1.Spacing = 6;
 
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]));
 
73
            w2.Position = 0;
 
74
            w2.Expand = false;
 
75
            w2.Fill = false;
 
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]));
 
86
            w3.Position = 1;
 
87
            w3.Expand = false;
 
88
            w3.Fill = false;
 
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]));
 
100
            w4.Position = 0;
 
101
            w4.Expand = false;
 
102
            w4.Fill = false;
 
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]));
 
109
            w5.Position = 1;
 
110
            w5.Expand = false;
 
111
            w5.Fill = false;
 
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]));
 
120
            w6.Position = 2;
 
121
            this.vbox89.Add(this.hbox68);
 
122
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox68]));
 
123
            w7.Position = 2;
 
124
            w7.Expand = false;
 
125
            w7.Fill = false;
 
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]));
 
135
            w8.Position = 3;
 
136
            w8.Expand = false;
 
137
            w8.Fill = false;
 
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]));
 
149
            w9.Position = 0;
 
150
            w9.Expand = false;
 
151
            w9.Fill = false;
 
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]));
 
158
            w10.Position = 1;
 
159
            w10.Expand = false;
 
160
            w10.Fill = false;
 
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]));
 
173
            w11.Position = 0;
 
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]));
 
182
            w12.Position = 1;
 
183
            w12.Expand = false;
 
184
            w12.Fill = false;
 
185
            this.hbox69.Add(this.hbox1);
 
186
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox69[this.hbox1]));
 
187
            w13.Position = 2;
 
188
            this.vbox89.Add(this.hbox69);
 
189
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox69]));
 
190
            w14.Position = 4;
 
191
            w14.Expand = false;
 
192
            w14.Fill = false;
 
193
            w1.Add(this.vbox89);
 
194
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.vbox89]));
 
195
            w15.Position = 0;
 
196
            // Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
 
197
            Gtk.HButtonBox w16 = this.ActionArea;
 
198
            w16.Name = "dialog-action_area11";
 
199
            w16.Spacing = 10;
 
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]));
 
221
            w18.Position = 1;
 
222
            if ((this.Child != null)) {
 
223
                this.Child.ShowAll();
 
224
            }
 
225
            this.DefaultHeight = 249;
 
226
            this.Show();
 
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);
 
232
        }
 
233
    }
 
234
}