~ted/ubuntu/lucid/tomboy/with-patch

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2007-07-16 10:26:35 UTC
  • mfrom: (1.1.21 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20070716102635-0wzk26jo50csob7b
Tags: 0.7.2-0ubuntu1
New upstream release

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();
 
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]));
 
71
            w2.Position = 0;
 
72
            w2.Expand = false;
 
73
            w2.Fill = false;
 
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]));
 
84
            w3.Position = 1;
 
85
            w3.Expand = false;
 
86
            w3.Fill = false;
 
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]));
 
98
            w4.Position = 0;
 
99
            w4.Expand = false;
 
100
            w4.Fill = false;
 
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]));
 
107
            w5.Position = 1;
 
108
            w5.Expand = false;
 
109
            w5.Fill = false;
 
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]));
 
118
            w6.Position = 2;
 
119
            this.vbox89.Add(this.hbox68);
 
120
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox68]));
 
121
            w7.Position = 2;
 
122
            w7.Expand = false;
 
123
            w7.Fill = false;
 
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]));
 
133
            w8.Position = 3;
 
134
            w8.Expand = false;
 
135
            w8.Fill = false;
 
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]));
 
147
            w9.Position = 0;
 
148
            w9.Expand = false;
 
149
            w9.Fill = false;
 
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]));
 
156
            w10.Position = 1;
 
157
            w10.Expand = false;
 
158
            w10.Fill = false;
 
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]));
 
171
            w11.Position = 0;
 
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]));
 
180
            w12.Position = 1;
 
181
            w12.Expand = false;
 
182
            w12.Fill = false;
 
183
            this.hbox69.Add(this.hbox1);
 
184
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox69[this.hbox1]));
 
185
            w13.Position = 2;
 
186
            this.vbox89.Add(this.hbox69);
 
187
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox69]));
 
188
            w14.Position = 4;
 
189
            w14.Expand = false;
 
190
            w14.Fill = false;
 
191
            w1.Add(this.vbox89);
 
192
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.vbox89]));
 
193
            w15.Position = 0;
 
194
            // Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
 
195
            Gtk.HButtonBox w16 = this.ActionArea;
 
196
            w16.Name = "dialog-action_area11";
 
197
            w16.Spacing = 10;
 
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]));
 
219
            w18.Position = 1;
 
220
            if ((this.Child != null)) {
 
221
                this.Child.ShowAll();
 
222
            }
 
223
            this.DefaultHeight = 235;
 
224
            this.Show();
 
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);
 
229
        }
 
230
    }
 
231
}